Macaca IOS app-inspector 启动报错 Internal Server Error,log 报错 xctest client exit with code: 65, signal: null

huangwenbin · 2017年11月06日 · 最后由 洛凉 回复于 2019年07月18日 · 2330 次阅读


XCODE 已经升级到 9,项目也已经重新签名了,build 成功~但是启动 app-inspector 会报错,log 如下:

app-inspector.js:43:12 [master] pid:10379 server start at: http://192.168.84.212:5678
xctest-client.js:56:14 [master] pid:10379 project path: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.3.4@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:242:14 [master] pid:10379 xcode version: 9.1
XCTestWD version: 1.3.4
xctest-client.js:190:18 [master] pid:10379 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.3.4@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:190:18 [master] pid:10379 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.3.4@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:190:18 [master] pid:10379 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.3.4@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:190:18 [master] pid:10379 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/_xctestwd@1.3.4@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:276:14 [master] pid:10379 killing deviceLogProc pid: 10385
xctest-client.js:281:14 [master] pid:10379 killing runnerProc pid: 10382
xctest-client.js:201:16 [master] pid:10379 xctest client exit with code: 65, signal: null
xctest-client.js:155:16 [master] pid:10379 devicelog exit with code: null, signal: SIGKILL
xctest-client.js:268:14 [master] pid:10379 Fail to start xctest: undefined
undefined
iOS device started: 09554aaa0cbce1c7502226ade0cc7a763a2bc125
inspector start at: http://192.168.84.212:5678
<-- GET /
helper.js:94:16 [master] pid:10379 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001

Error: connect ECONNREFUSED 127.0.0.1:8001
at Object.exports._errnoException (util.js:1014:11)
at exports._exceptionWithHostPort (util.js:1037:20)
at TCPConnectWrap.afterConnect as oncomplete

共收到 2 条回复 时间 点赞

遇到了跟您一样的问题,请问解决了吗?

构建 webdriveragent 和 XCTestWDUIAgent

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册