facebook-wda windows 连接iOS失败原因之一

发布时间 2023-08-21 16:10:30作者: Receiver

由于虚拟环境进行了重新安装,导致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

 

  1.  首先检查了一下 facebook-wda版本是正常的,最新版本
  2.  ios证书重新安装-仍然报错
  3. mac电脑运行 d = wda.USBClient() 正常
  4. 重新安装了一下 tidevice :pip install -U tidevice  恢复正常