Troubleshooting issues when testing iOS applications

You can find information about the issues or problems that you might face while you perform mobile tests for iOS applications. Details about issues, their causes, and the resolutions that you can apply to fix the issues are described.

The troubleshooting issues are presented to you in the following table:

Problem

Description

Solution

The UI Test Agent log displays the following message either when the recording or playback of iOS test does not start: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error

When you start to either record or play back the iOS test, the action does not proceed and the UI Test Agent log displays a message about the XCode failure. You must perform the following steps;
  1. Go to the location <installation directory path>/node-js/appium-server/node_modules/appium/node_modules/appium-webdriveragent, and then open WebDriverAgent.xcodeproj.
  2. Select WebDriverAgent in the Project.
  3. Click the Build Settings tab.
  4. Click All and Combined in the row next to the Build Settings tab.
  5. Set Validate Workspace value to yes in the Build Options (iOS)section.