-
Notifications
You must be signed in to change notification settings - Fork 1.4k
airtest 启动 ios18 app 报错 could not connect to RSD #1312
Description
报错信息:
{"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