From 64ecb2e974bfecd26467c4c301de3bd5ed29cb67 Mon Sep 17 00:00:00 2001 From: Javier Navarro Date: Tue, 6 Sep 2022 16:05:16 +0200 Subject: [PATCH] Allow use of iPhoneSimulator SDK with arm64 CPU (GH #1149) --- TestScripts/setenv-ios.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TestScripts/setenv-ios.sh b/TestScripts/setenv-ios.sh index 0bc43db6..07ae604f 100755 --- a/TestScripts/setenv-ios.sh +++ b/TestScripts/setenv-ios.sh @@ -171,6 +171,8 @@ elif [[ "${IOS_SDK}" == "iPhoneSimulator" && "${IOS_CPU}" == "i386" ]]; then MIN_VER=-miphonesimulator-version-min=6 elif [[ "${IOS_SDK}" == "iPhoneSimulator" && "${IOS_CPU}" == "x86_64" ]]; then MIN_VER=-miphonesimulator-version-min=6 +elif [[ "${IOS_SDK}" == "iPhoneSimulator" && "${IOS_CPU}" == "arm64" ]]; then + MIN_VER=-miphonesimulator-version-min=6 # Apple TV can be 32-bit Intel (1st gen), 32-bit ARM (2nd, 3rd gen) or 64-bit ARM (4th gen) elif [[ "${IOS_SDK}" == "AppleTVOS" && "${IOS_CPU}" == "i386" ]]; then