Appium 请教 [XCUITest] xcodebuild exited with code '65' and signal 'null' 问题的解决

mikiXuan · 2017年02月24日 · 最后由 lbw 回复于 2017年03月06日 · 3084 次阅读

我是虚拟机运行的 appium 例子,报以下错误,多次重装 libimobiledevi 和 ideviceinstaller 也无济于事。

[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/.2.9.0@appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/.2.9.0@appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/.2.9.0@appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=A431516F-F443-4526-ABBD-7C620F0609DF -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/.2.9.0@appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITest] Log file for xcodebuild test: /Users/wenxuanshin/Library/Developer/Xcode/DerivedData/WebDriverAgent-atmcauubtrczumbsbbrkgsmgewed/Logs/Test/156B81B9-25D3-49AC-8E14-F945E5ED10B7/Session-WebDriverAgentRunner-2017-02-24_123235-H3Hai7.log
[Xcode] 2017-02-24 12:32:35.641 xcodebuild[67311:4243301] Error Domain=IDEFoundationErrorDomain Code=1 "Cannot launch simulated executable: no file found at /Users/wenxuanshin/Library/Developer/Xcode/DerivedData/WebDriverAgent-atmcauubtrczumbsbbrkgsmgewed/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app" UserInfo={NSLocalizedDescription=Cannot launch simulated executable: no file found at /Users/wenxuanshin/Library/Developer/Xcode/DerivedData/WebDriverAgent-atmcauubtrczumbsbbrkgsmgewed/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app}

[Xcode] 2017-02-24 12:32:35.641 xcodebuild[67311:4243301] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
2017-02-24 12:32:35.642 xcodebuild[67311:4243317] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled <DTXChannel: 0x7fd302d14ea0>

[Xcode] ** TEST EXECUTE FAILED **

Ps.顺便求解答 Mac 系统下用 Homebrew 安装的 python 怎么安装 HTMLTestRunner 的。。。

共收到 3 条回复 时间 点赞

找到解决答案了。。 重新编译了一遍 WebDriverAgent 就好了

请教一下楼主,我现在和你当时遇到的问题一样,请问你是怎么编译 WebDriverAgent,我刚开始学习

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册