From 3ff7675eb7d5bd8c3e7b5ee70dd06771b61ecbbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 1 Nov 2017 13:13:05 +0100 Subject: [PATCH] Makefile: add support for Xcode 9.1 and Xcode 9.2 beta 1 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2b3664c38..38b178569 100644 --- a/Makefile +++ b/Makefile @@ -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