- app-inspector --port 56789 -u f9b87274e2a24b310399dd56dd80f8561d99fdac --verbose
提示出错误:xctest client exit with code: 65
>> xctest-client.js:181:14 [master] pid:33863 xctest client exit with code: 65, signal: null
>> xctest-client.js:145:16 [master] pid:33863 deviceconsole exit with code: null, signal: SIGKILL
>> xctest-client.js:255:14 [master] pid:33863 Fail to start xctest: undefined
>> app-inspector:66:44 [master] pid:33863 undefined
原因:WebDriverAgent app的证书出问题了。
解决方案
在xcode 中编译下:WebDriverAgentUSBClient
再删除手机上的WDA,重复启动下就好了。