Macaca app-inspector iOS 真机连接失败

Dorom · 2019年05月29日 · 最后由 Dorom 回复于 2019年05月29日 · 2702 次阅读

>> server.js:16:12 [master] pid:88519 server start with config:
 { port: 5678,
  verbose: true,
  udid: '08415c02e0a2f93b4137da33e996146362000b2c',
  ip: '192.168.10.177',
  host: 'Dorom-MacBook-Air.local',
  loaded_time: '2019-05-29 16:25:44' }
>> app-inspector.js:45:12 [master] pid:88519 server start at: http://192.168.10.177:5678
>> xctest-client.js:56:14 [master] pid:88519 project path: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:283:14 [master] pid:88519 xcode version: 10.2.1
>> XCTestWD version: 1.4.18
  <-- GET /
  --> GET / 200
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
>> xctest-client.js:227:20 [master] pid:88519 hitted for default mode
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctestwd start with port: 8001
>> proxy.js:55:14 [master] pid:88519 Proxy: /wd/hub/session:POST to http://127.0.0.1:8001/wd/hub/session:POST with body: {"desiredCapabilities":{}}
>> proxy.js:85:20 [master] pid:88519 Got response with status 200: {"sessionId":null,"status":0,"value":{"sessionId":"0876AC9C-11FB-45DD-B259-89A9DACEA37D","capabilities":{"device":"iphone","sdkVersion":"11.2.5","CFBundleIdentifier":"com.apple.springboard","browse...
>> iOS device started: 08415c02e0a2f93b4137da33e996146362000b2c
>> inspector start at: http://192.168.10.177:5678
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
  <-- GET /
>> ios.js:56:10 [master] pid:88519 Dump iOS XML success, save to /usr/local/lib/node_modules/app-inspector/.temp/ios.json
  --> GET / 200
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:230:20 [master] pid:88519 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.4.18@xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:322:14 [master] pid:88519 killing runnerProc pid: 88538
>> xctest-client.js:328:14 [master] pid:88519 killing iproxyProc pid: 88900
>> xctest-client.js:242:16 [master] pid:88519 xctest client exit with code: 65, signal: null
>> xctest-client.js:272:14 [master] pid:88519 iproxy exit with code: null, signal: SIGKILL
  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

  <-- GET /favicon.ico
  --> GET /favicon.ico 404
  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

  <-- GET /
>> helper.js:94:16 [master] pid:88519 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

  Error: connect ECONNREFUSED 127.0.0.1:8001
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

共收到 1 条回复 时间 点赞

XCTestWD 重新安装了证书解决了

Dorom 关闭了讨论 05月29日 17:43
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册