Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message

appium-server-logs.txt (21.7 KB)

I got this error while connect appium inspector to iPhone 15, 17.2 and iPhone 16, 18.3.1

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:

I tried lot of thing but nothing works.

Appium 1 is no longer supported.

Here is the migration guide to Appium 2:

I already tried this and in my log file version is Appium server GUI version.

GUI version is Appium 1, which is unsupported.

If you have questions on the Migration Guide, just post them here. I’m happy to help.

Ok Thank you will check today, and let you know

Thank you, my issue is resolved now.
issue is related to I’m sending session request to /wd/hub, but Appium 2 does NOT use /wd/hub anymore by default.
SO i removed /wd/hub and it’s working.

1 Like