System Requirements TEST3
Main Dependencies
Like all Appium drivers, the XCUITest driver requires Appium to be installed. Refer to the Appium documentation for its requirements and prerequisites.
In addition to Appium system requirements, the XCUITest driver expects the following prerequisites:
- Only macOS is supported as the host platform
- Xcode and Xcode Developer Tools must be installed
- The Appium team often needs time to add support for the latest Xcode/iOS versions, including beta versions (Xcode/iOS version support)
- If automating real devices, additional manual configuration is required. Check the Real Device Configuration docs for more details.
- Webviews must be debuggable in order to test them. If not, the driver will not be able to identify them (see Safari remote debugger).
Optional Dependencies
xcpretty
can be used to make Xcode output easier to read. It can be
installed by running:
brew install xcpretty
Validate Dependencies Using Doctor
You can ensure your environment is ready by using appium-doctor
:
npm install -g appium-doctor
appium-doctor --ios
Xcode/iOS Version Support
The XCUITest driver supports Xcode versions starting from 8.x, but you are encouraged to use the latest stable version. Ensure your iOS device version is compatible if testing on real devices, and that you have the necessary provisioning profiles/certificates.
6. Clean Gradle Cache (Optional)
-
Gradle cache is stored at:
~/.gradle
-
To remove it, run:
rm -rf ~/.gradle