Skip to content

airtest 启动 ios18 app 报错 could not connect to RSD #1312

Description

@linbossdegithub

报错信息:
{"err":"NewWithAddrPortTUNDevice: failed to connect to device: ConnectToHttp2WithAddr: failed to dial: dial tcp [fdf1:3535:99fd::1]:50569: connect: operation timed out","level":"fatal","msg":"could not connect to RSD","time":"2026-02-28T14:59:14+08:00"}
[14:59:14][ERROR]<airtest.utils.runcommand> CMD excute failed: ['/usr/local/lib/python3.9/site-packages/airtest/core/ios/goios/mac/ios-darwin', '--udid=00008020-0019586E0EEA002E', 'info']
{"err":"NewWithAddrPortTUNDevice: failed to connect to device: ConnectToHttp2WithAddr: failed to dial: dial tcp [fdf1:3535:99fd::1]:50569: connect: operation timed out","level":"fatal","msg":"could not connect to RSD","time":"2026-02-28T15:00:30+08:00"}

复现步骤
1、使用 dev.start_app() 启动app 就报错了
2、此时使用 python -m pymobiledevice3 developer dvt launch XXX 可以正常启动APP,说明PC是可以连接手机的

python 版本: python3.9

airtest 版本: 1.4.3

设备:

  • 型号: iPhone XR
  • 系统: ios 18.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions