如何解决使用 xcode 12 获取 xcodebuild 失败,IOS 12.4 出现代码 65 错误但是 14.2 运行没有任何问题
当我尝试连接 IOS 12.4 模拟器时出现以下错误。但我可以毫无问题地连接 14.2 模拟器。
INSERT INTO TABLE_A
SELECT x1,x2,x3,x4 FROM TABLE_B
ON CONFLICT (x1,x3) DO UPDATE SET
x1=EXCLUDED.x1,x2=EXCLUDED.x2,x2=EXCLUDED.x3
ON CONFLICT (x1,x4) DO NOTHING.
我使用了以下功能来运行模拟器
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1612849010617 (11:06:50 GMT+0530 (India Standard Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest]
[XCUITest] Quitting and uninstalling WebDriverAgent
[WebDriverAgent] Shutting down sub-processes
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] The simulator has '1' bundles which have 'WebDriverAgentRunner-Runner' as their 'CFBundleName':
[debug] [iOSSim] 'com.iostestingtwo.WebDriverAgentRunner.xctrunner'
[debug] [WebDriverAgent] Uninstalling WDAs: 'com.iostestingtwo.WebDriverAgentRunner.xctrunner'
[XCUITest] {}
[DevCon Factory] Releasing connections for 18893A1A-E8BE-448A-95C0-5C1540979987 device on any port number
[DevCon Factory] Found cached connections to release: ["18893A1A-E8BE-448A-95C0-5C1540979987:8100"]
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [IOSSimulatorLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1612849011777 (11:06:51 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [W3C] xcodebuild error message:
[debug] [W3C]
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:544:15)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:579:11
[debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13)
[debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13)
[debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:559:7
[HTTP] <-- POST /wd/hub/session 500 192231 ms - 741
请建议我如何解决。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。