|
@@ -269,8 +269,20 @@ if [[ "${DO_XCODE_IOS_TESTS}" == "yes" ]] ; then
|
|
|
-disable-concurrent-testing
|
|
|
)
|
|
|
;;
|
|
|
+ 9.3* )
|
|
|
+ XCODEBUILD_TEST_BASE_IOS+=(
|
|
|
+ # Xcode 9.3 chokes targeting iOS 8.x - http://www.openradar.me/39335367
|
|
|
+ -destination "platform=iOS Simulator,name=iPhone 4s,OS=9.0" # 32bit
|
|
|
+ -destination "platform=iOS Simulator,name=iPhone 7,OS=latest" # 64bit
|
|
|
+ # 9.3 also seems to often fail running destinations in parallel
|
|
|
+ -disable-concurrent-testing
|
|
|
+ )
|
|
|
+ ;;
|
|
|
* )
|
|
|
- echo "Time to update the simulator targets for Xcode ${XCODE_VERSION}"
|
|
|
+ echo ""
|
|
|
+ echo "ATTENTION: Time to update the simulator targets for Xcode ${XCODE_VERSION}"
|
|
|
+ echo ""
|
|
|
+ echo "Build aborted!"
|
|
|
exit 2
|
|
|
;;
|
|
|
esac
|