Sometimes need to reconnect or reboot the iPhone otherwise appium will get xcode build failed with 65

I dont’ know why, and i do nothing, like appium work normally today, when tomorrow i work with appium, need to reconnect via usb or restart iPhone by power button, otherwise will get error:

[warn] e[35m[WD Proxy]e[39m Got an unexpected response: {“errno”:“ECONNRESET”,“code”:“ECONNRESET”,“syscall”:“read”}[error] e[35m[XCUITest]e[39m xcodebuild exited with code ‘65’ and signal ‘null’
[debug] e[35m[BaseDriver]e[39m Event ‘wdaStartFailed’ logged at 1563879591915 (18:59:51 GMT+0800 (CST))
[debug] e[35m[XCUITest]e[39m Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65
[debug] e[35m[XCUITest]e[39m xcodebuild error message:
[debug] e[35m[XCUITest]e[39m ". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device

1 Like