diff --git a/Makefile b/Makefile index 6f17fe493..e8012b004 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,10 @@ 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.2) +# When adding support for an Xcode version, look for available devices with `instruments -s devices` +ifeq ($(XCODEVERSION),9.3) + MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 8,OS=11.3" +else 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"