Makefile: add support for Xcode 9.1 and Xcode 9.2 beta 1

This commit is contained in:
Gwendal Roué committed 2017-11-01 13:13:05 +01:00
1 parent 3d06841eba
commit 3ff7675eb7
1 file changed
+5 -2
+5 -2
View File
@@ -46,8 +46,11 @@ TEST_ACTIONS = clean build build-for-testing test-without-building
# xcodebuild destination to run tests on iOS 8.1 (requires a pre-installed simulator)
MIN_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 4s,OS=8.1"
ifeq ($(XCODEVERSION),9.0)
# xcodebuild destination to run tests on latest iOS (Xcode 9.0)
ifeq ($(XCODEVERSION),9.2)
MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 8,OS=11.2"
else ifeq ($(XCODEVERSION),9.1)
MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 8,OS=11.1"
else ifeq ($(XCODEVERSION),9.0)
MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 8,OS=11.0"
else
# Xcode < 9.0 is not supported