由于虚拟环境进行了重新安装,导致wda连接失败
报错原因如下:
raise ConnectionError("socket connection broken")
ConnectionError: socket connection broken
[I 230821 15:29:51 _device:1106] xctrunner quited
[W 230821 15:29:51device:925] WebDriverAgentRunner quitted
raise RuntimeError("wda xctest launched but check failed")
RuntimeError: wda xctest launched but check failed
- 首先检查了一下 facebook-wda版本是正常的,最新版本
- ios证书重新安装-仍然报错
- mac电脑运行 d = wda.USBClient() 正常
- 重新安装了一下 tidevice :pip install -U tidevice 恢复正常