app-inspector version: 2.0.8
XCTestWD version: 1.2.5

Xcode 8.3.3

怀疑是最近升级 Xcode 到 9 以后,又退回版本到 8.3.3(下载了 8.3.3,9 同时保留,并通过 xcode-select 选择 Xcode 版本为 8.3.3)

但是此时启动 app-inspector 会有如下错误:

$ app-inspector -u 610100C8-CEEF-484C-AE88-26508C0BAB00 --verbose
> server.js:16:12 [master] pid:58159 server start with config:
 { port: 5678,
  verbose: true,
  udid: '610100C8-CEEF-484C-AE88-26508C0BAB00',
  ip: 'xx.xx.xx.xx',
  host: 'xxxxxxx',
  loaded_time: '2017-10-13 09:52:27' }
>> app-inspector.js:43:12 [master] pid:58159 server start at: http://172.16.2.216:5678
>> xctest-client.js:56:14 [master] pid:58159 project path: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:242:14 [master] pid:58159 xcode version: 8.3.3
>> XCTestWD version: 1.2.5
>> Read simulator log at: /Users/quintus/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/B15BF888-98A2-43C7-BE0E-A6E6B1C4AAB4/StandardOutputAndStandardError.txt
>> xctest-client.js:190:18 [master] pid:58159 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:190:18 [master] pid:58159 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:190:18 [master] pid:58159 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:190:18 [master] pid:58159 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:190:18 [master] pid:58159 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
>> xctest-client.js:281:14 [master] pid:58159 killing runnerProc pid: 58163
>> xctest-client.js:201:16 [master] pid:58159 xctest client exit with code: 65, signal: null
>> Read simulator log at: /Users/quintus/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/B15BF888-98A2-43C7-BE0E-A6E6B1C4AAB4/StandardOutputAndStandardError.txt
>> Read simulator log at: /Users/quintus/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/B15BF888-98A2-43C7-BE0E-A6E6B1C4AAB4/StandardOutputAndStandardError.txt
>> Read simulator log at: /Users/quintus/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/B15BF888-98A2-43C7-BE0E-A6E6B1C4AAB4/StandardOutputAndStandardError.txt
>> Read simulator log at: /Users/quintus/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/B15BF888-98A2-43C7-BE0E-A6E6B1C4AAB4/StandardOutputAndStandardError.txt

尝试查找这个他说的 simulator log 发现没有这个文件。并且模拟器上也没有 XCTestWD 加载。

尝试卸载 app-inspector 再重新安装也不能解决问题

请问论坛的大神是否有啥好的建议


↙↙↙阅读原文可查看相关链接,并与作者交流