代码如下
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