Skip to content

Commit

Permalink
Allow use of iPhoneSimulator SDK with arm64 CPU (GH weidai11#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnavarrom authored Sep 6, 2022
1 parent 5a7fd69 commit 64ecb2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TestScripts/setenv-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64ecb2e

Please sign in to comment.