Macaca 升级 Xcode9 以后 macaca-ios 可以,app-inspector 不好用

testerking · 2017年10月11日 · 最后由 testerking 回复于 2017年10月12日 · 1920 次阅读

代码如下

server.js:16:12 [master] pid:3194 server start with config:
{ port: 5678,
verbose: true,
udid: '272732c153679a25667b8a97eb3a3974a668e4d1',
ip: '192.168.147.120',
host: 'bogon',
loaded_time: '2017-10-11 14:44:53' }
app-inspector.js:43:12 [master] pid:3194 server start at: http://192.168.147.120:5678
xctest-client.js:56:14 [master] pid:3194 project path: /usr/local/lib/node_modules/app-inspector/node_modules/.1.2.5@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:242:14 [master] pid:3194 xcode version: 9.0
XCTestWD version: 1.2.5
xctest-client.js:190:18 [master] pid:3194 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/.1.2.5@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:190:18 [master] pid:3194 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/.1.2.5@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:190:18 [master] pid:3194 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/.1.2.5@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:190:18 [master] pid:3194 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/.1.2.5@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctestwd start with port: 8001
proxy.js:55:14 [master] pid:3194 Proxy: /wd/hub/session:POST to http://localhost:8001/wd/hub/session:POST with body: {"desiredCapabilities":{}}
proxy.js:68:22 [master] pid:3194 xctest client proxy received no data.
xctest-client.js:190:18 [master] pid:3194 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/.1.2.5@xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:276:14 [master] pid:3194 killing deviceLogProc pid: 3200
xctest-client.js:281:14 [master] pid:3194 killing runnerProc pid: 3197
xctest-client.js:287:14 [master] pid:3194 killing iproxyProc pid: 3379
xctest-client.js:201:16 [master] pid:3194 xctest client exit with code: 65, signal: null
xctest-client.js:231:14 [master] pid:3194 iproxy exit with code: null, signal: SIGKILL
xctest-client.js:155:16 [master] pid:3194 devicelog exit with code: null, signal: SIGKILL
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
proxy.js:63:22 [master] pid:3194 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001
xctest-client.js:268:14 [master] pid:3194 Fail to start xctest: Error: connect ECONNREFUSED 127.0.0.1:8001
{ Error: connect ECONNREFUSED 127.0.0.1:8001
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect as oncomplete
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8001 }
iOS device started: 272732c153679a25667b8a97eb3a3974a668e4d1
inspector start at: http://192.168.147.120:5678
<-- GET /
helper.js:94:16 [master] pid:3194 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:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect as oncomplete

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 1 条回复 时间 点赞

问题已经解决,升级 Xcode9 后需要使用 ios11 的系统,不知道为什么不支持原来的 ios 了

恒温 关闭了讨论 10月12日 17:36
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册