Unable to launch iOS app on appium inspector

Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message: . 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.

I have use xcode to build and install WDA
from ~/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent

open WebDriverAgent.xcodeproj
run the build which BUILD succeed

I start the GUI appium server
but when I start session in appium inspector
I got the above error

try to follow this: https://github.com/appium/appium-xcuitest-driver/blob/master/docs/wda-custom-server.md#wda-setup
or if you prefer video: [XCUITest] xcodebuild exited with code '65' and signal 'null'

  • make sure you use WebDriverAgentRunner

yes it working for me. thanks

1 Like