` macaca-doctor version: 2.0.18
Network checklist:
Error, please set hosts: 127.0.0.1 localhost
Error, please set hosts: ::1 localhost
Node.js checklist:
node env: /usr/local/homebrew/bin/node
node version: v12.7.0
iOS checklist:
macOS version: 10.14.6
Xcode Command Line Tools is ready, version: 2354.
xcodebuild version: 10.3
iproxy[usbmuxd] is installed at: /usr/local/homebrew/bin/iproxy
ios_webkit_debug_proxy is installed at: /usr/local/homebrew/bin/ios_webkit_debug_proxy
Android checklist:
JAVA version is 1.8
JAVA_HOME is not set
ANDROID_HOME is set to /Users/liyaoyao/Downloads/android-sdk-macosx
Platforms is set to /Users/liyaoyao/Downloads/android-sdk-macosx/platforms/android-29
ADB tool is set to /Users/liyaoyao/Downloads/android-sdk-macosx/platform-tools/adb
Not accepted Android SDK license agreements
gradle is installed, version: 5.5
Installed driver list:
android: 2.1.0
location: /usr/local/homebrew/lib/node_modules/macaca-android
ios: 2.0.35
location: /usr/local/homebrew/lib/node_modules/macaca-ios`
这是我 macaca doctor 看到的信息,iOS 都是 Ok 的,但 app-inspector 就是启动不起来
不知道 Error, please set hosts: 127.0.0.1 localhost 这个报错有没有影响
这是我的报错日志
`>> server.js:16:12 [master] pid:928 server start with config:
{
port: 5678,
verbose: true,
udid: '555031b52b97ee0423f984d4d43d4685c4c3056a',
ip: '172.16.51.89',
host: 'wangruideMacBook-Pro-2.local',
loaded_time: '2019-08-06 20:37:40'
}
app-inspector.js:45:12 [master] pid:928 server start at: http://172.16.51.89:5678
xctest-client.js:56:14 [master] pid:928 project path: /usr/local/homebrew/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:283:14 [master] pid:928 xcode version: 10.3
XCTestWD version: 1.4.18
xctest-client.js:309:14 [master] pid:928 Fail to start xctest: Error: ENOENT: no such file or directory, scandir '/usr/local/homebrew/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/build/Build/Products'
Error: ENOENT: no such file or directory, scandir '/usr/local/homebrew/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/build/Build/Products'
at Object.readdirSync (fs.js:795:3)
at /usr/local/homebrew/lib/node_modules/app-inspector/node_modules/xctestwd/lib/xctest-client.js:189:26
at new Promise ()
at XCTest.startBootstrap (/usr/local/homebrew/lib/node_modules/app-inspector/node_modules/xctestwd/lib/xctest-client.js:182:12)
at startBootstrap.next ()
at onFulfilled (/usr/local/homebrew/lib/node_modules/app-inspector/node_modules/co/index.js:65:19)
at /usr/local/homebrew/lib/node_modules/app-inspector/node_modules/co/index.js:54:5
at new Promise ()
at co (/usr/local/homebrew/lib/node_modules/app-inspector/node_modules/co/index.js:50:10)
at toPromise (/usr/local/homebrew/lib/node_modules/app-inspector/node_modules/co/index.js:118:63) {
errno: -2,
syscall: 'scandir',
code: 'ENOENT',
path: '/usr/local/homebrew/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/build/Build/Products'
}
iOS device started: 555031b52b97ee0423f984d4d43d4685c4c3056a
inspector start at: http://172.16.51.89:5678
<-- GET /
helper.js:94:16 [master] pid:928 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
<-- GET /favicon.ico
--> GET /favicon.ico 404
`