So, I spent some time implementing the first UITests in Xcode 7 to automatically test the main workflows in our application. And everything went fine.
However, when I clicked UITests on CI (Xcode Server), the build ended with the following log message:
xcodebuild: error: Failed to create mycoolapp workspace with mycoolapp schema.
Reason: UI testing is not supported on iPad 2 because it runs iOS Simulator 8.1 and UI Testing requires iOS Simulator 9.0 or later.
4.684 (4.687) seconds The test package "mycoolappUITests.xctest" failed on 2015-10-14 11: 21: 45.242. 2 tests completed with 2 errors (0 unexpected) in 12.217 (12.229) seconds
So, I understand that UITests are only supported by iOS 9.x devices (which is reasonable).
I do not understand that I can not configure Xcode Bot to run only UITests on certain devices and UnitTests on all devices.
Am I right about this or is there a configuration option that I am missing? Has anyone encountered the same problem?
source
share