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.
- Install Appium XCUITest driver version 4.32.24 or newer:
npm install appium-xcuitest-driver@4.32.24
Update code signing:
- 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
- After opening
WebDriverAgent.xcodeproj
file in Xcode, do as follows:- Uncheck Automatically manage signing.
- Select Target > WebDriverAgentRunner.
- Select Signing & Capabilities.
- Select Provisioning Profile. Make sure you have installed Certificate & Wildcard Provisioning Profile on your machine.
- Select Product > Test.