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


#1

Hi Folks,

Below are steps to fix this issue:

  1. Install appium version 1.6.4 for apps build using Xcode 8
  2. In the command prompt paste the command:xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=e7c69546539cc06d5351e33c6a4aa8cd1f13d263 -configuration Debug

where “id” should be the udid of the device connected which could be an real or simulator device

  1. After successful complete of step 2 a new app will be installed in the device

  2. open the newly installed app and trust the developer

  3. In command prompt give command Appium and wait till server listens to an port number

  4. Now start running your test scripts which could be in python or in java

  5. Now the script will try to install your app to be tested in the mobile device , open your app and trust the developer

  6. Your done!!!


#2

@ravichandrabalaji it happens when setup for appium have some problem in configuring webdriver-agent in appium library, you can even configure webdriver-agent with free apple developer account as well, follow these steps in video: https://www.youtube.com/watch?v=dyijACVRQOc
It worked for me, Happy Testing :slight_smile: