- Newest
- Most votes
- Most comments
The error you're encountering with AWS Device Farm for iOS devices running versions other than iOS 17 is related to the WebDriverAgent, which is a critical component for running Appium tests on iOS devices.
This error typically occurs when there's a mismatch between the Xcode version, iOS SDK, and the iOS version on the test devices. It's possible that the WebDriverAgent is not compatible with the older iOS versions in your device pool.
To resolve this issue, you can try the following steps:
-
Ensure that you're using the latest version of Appium and the iOS driver in your test environment. AWS Device Farm regularly updates its test environments, so make sure you're using a compatible version.
-
Check if your test package includes the correct dependencies and configurations for the iOS versions you're targeting. You may need to update your project's dependencies or build settings.
-
Consider using a custom test environment in AWS Device Farm. This allows you to specify the exact versions of Xcode, iOS SDK, and other dependencies that are compatible with your target iOS versions.
-
If you're using a custom test spec, make sure it's properly configured for all iOS versions in your device pool. You might need to adjust the test spec to accommodate different iOS versions.
-
Review your test scripts to ensure they're compatible with all iOS versions you're testing against. Some UI elements or interactions might differ between iOS versions, causing failures on older devices.
-
If the issue persists, you may need to create separate device pools or test runs for different iOS versions, using configurations that are specifically tailored for each version range.
Remember that AWS Device Farm supports various test frameworks and environments for iOS testing. If you continue to face issues, you might want to explore alternative test frameworks or consider using built-in tests provided by AWS Device Farm for broader device compatibility.
Sources
Welcome - AWS Device Farm Documentation
AWS Device Farm document history - AWS Device Farm
Built-in tests in AWS Device Farm - AWS Device Farm
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 years ago
