Skip to main content

Unable to execute tests with iOS on macOS Ventura and XCode 14.x

macOS Ventura no longer supports older Xcode versions. To test from it, you must have Xcode 14.x. However, there's an issue when using Xcode 14.x with Appium 1.x due to the outdated built-in XCUITest driver. To use Xcode 14.x with Appium 1.x, you need to update the XCUITest driver to a newer version.

  1. Install Appium XCUITest driver version 4.32.24 or newer:
    npm install appium-xcuitest-driver@4.32.24
Update code signing:
  1. Navigate to node_modules/appium-webdriveragent and open WebDriverAgent.xcodeproj file in Xcode with the following command:
    cd <node_modules/appium-webdriveragent>
    open WebDriverAgent.xcodeproj
  2. After opening WebDriverAgent.xcodeproj file in Xcode, do as follows:
    1. Uncheck Automatically manage signing.
    2. Select Target > WebDriverAgentRunner.
    3. Select Signing & Capabilities.
    4. Select Provisioning Profile. Make sure you have installed Certificate & Wildcard Provisioning Profile on your machine.
    5. Select Product > Test.