use detected ios version to auto-disable arm64e architecture

This commit is contained in:
Taner Sener 2021-12-20 00:15:40 +00:00
parent cb94734c94
commit 39dfa48c80

View File

@ -39,7 +39,7 @@ disable_ios_architecture_not_supported_on_detected_sdk_version() {
arm64e)
# INTRODUCED IN IOS SDK 10.1
if [[ $(compare_versions "$IOS_MIN_VERSION" "10.1") -ge 1 ]]; then
if [[ $(compare_versions "$DETECTED_IOS_SDK_VERSION" "10.1") -ge 1 ]]; then
local SUPPORTED=1
else
local SUPPORTED=0