Do I need to down load iOS 18 for testing on iPhone 11 having iOS version 17.6.1 ?

I am using two iPhone11 devices, having iOS v17.6.1 for automation testing using Seleniumv4.X-Appium v2.x. Today I updated the mac to Sequoia15 version which updated the XCode to v16. Just after this update, I could not able to run the previously running automation script. The console message is "org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Unable to launch WebDriverAgent. Original error: xcodebuild failed with code 70. This usually indicates an issue with the local Xcode setup or WebDriverAgent project configuration or the driver-to-platform version mismatch."

Answered by DTS Engineer in 804322022

In general, Apple’s testing infrastructure is able to run tests on any iOS version that’s supported by your Xcode. So, in this example, Xcode 16.0 running on macOS 15.0 is able to build and run apps on iOS 17, and thus it should be able to test on that as well.

I recommend that you first verify that this is working. Create a new test project from one of the iOS > App built-in template and see if you can run on your iOS 17 device. If you can’t, that’s something I can help you with. If you can’t, this is something you’ll need to escalate via the support channel for your third-party tooling.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Add this additional info:

While trying to build and run the WebDriverAgentRunner app on the iPhone connected in the XCode, the destination is suggested as needing the download of iOS 18 simulator which very high storage size. Since my mac' storage is very limited, I have to check whether the download is really required or not.

In general, Apple’s testing infrastructure is able to run tests on any iOS version that’s supported by your Xcode. So, in this example, Xcode 16.0 running on macOS 15.0 is able to build and run apps on iOS 17, and thus it should be able to test on that as well.

I recommend that you first verify that this is working. Create a new test project from one of the iOS > App built-in template and see if you can run on your iOS 17 device. If you can’t, that’s something I can help you with. If you can’t, this is something you’ll need to escalate via the support channel for your third-party tooling.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Do I need to down load iOS 18 for testing on iPhone 11 having iOS version 17.6.1 ?
 
 
Q