Macaca ios 测试,启动模拟器后报错,不能启动应用或浏览器
错误信息如下:
xctest-client.js:156:14 [master] pid:15123 xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:4B6B018B-00E4-4A45-9D33-3FFDAB4DCE43 }xctest-client.js:164:14 [master] pid:15123 xctest client exit with code: 70, signal: null
1) "before all" hook
responseHandler.js:11:12 [master] pid:15123 Recieve HTTP Request from Client: method: DELETE url: /wd/hub/session, jsonBody: {}
responseHandler.js:23:14 [master] pid:15123 Send HTTP Respone to Client: 405 Method Not Allowed2) "after all" hook
0 passing (5m)
2 failing1) macaca mobile sample "before all" hook:
Error: timeout of 300000ms exceeded. Ensure the done() callback is being called in this test.2) macaca mobile sample "after all" hook:
Error: [quit()] Unexpected data in simpleCallback.
at exports.newError (node_modules/macaca-wd/wd/lib/utils.js:139:13)
at null. (node_modules/macaca-wd/wd/lib/callbacks.js:42:12)
at cb (node_modules/macaca-wd/wd/lib/webdriver.js:165:22)
at node_modules/macaca-wd/wd/lib/webdriver.js:179:5
at Request._callback (node_modules/macaca-wd/wd/lib/http-utils.js:87:7)
at Request.self.callback (node_modules/macaca-wd/node_modules/request/request.js:368:22)
at Request. (node_modules/macaca-wd/node_modules/request/request.js:1219:14)
at IncomingMessage. (node_modules/macaca-wd/node_modules/request/request.js:1167:12)
at endReadableNT (_stream_readable.js:905:12)Test completed!