@xdf 请问我每次运行测试代码时,会在第 5 步出错,报的是
Error: Device: 6ECCA5F9-7A4E-4B58-8A8F-53D4412D2F87 does not exist。
我看了报错的代码 remote-debugger/lib/remote-debugger.js:39:17 ,是判断 http://localhost:9221/json 返回的数据里面需要有与测试目标设备的 UDID 一致的设备,然而实际这个接口返回的设备列表中,模拟器的 DEVICE ID 是 SIMULATOR。像这样:
⇒  curl http://localhost:9221/json
  [{ 
   "deviceId": "SIMULATOR", 
   "deviceName": "SIMULATOR",
   "url": "localhost:9222"
  }]
请问如何解决?