|
|
|
@ -30,8 +30,8 @@ disable_ios_architecture_not_supported_on_detected_sdk_version() { |
|
|
|
|
case ${ARCH_NAME} in |
|
|
|
|
armv7 | armv7s | i386) |
|
|
|
|
|
|
|
|
|
# SUPPORTED UNTIL IOS SDK 10 |
|
|
|
|
if [[ $2 == 11* ]] || [[ $2 == 12* ]] || [[ $2 == 13* ]] || [[ $2 == 14* ]]; then |
|
|
|
|
# SUPPORTED UNTIL IOS SDK 10.3.1 |
|
|
|
|
if [[ $(echo "$2 > 10.4" | bc) -eq 1 ]]; then |
|
|
|
|
local SUPPORTED=0 |
|
|
|
|
else |
|
|
|
|
local SUPPORTED=1 |
|
|
|
@ -39,8 +39,8 @@ disable_ios_architecture_not_supported_on_detected_sdk_version() { |
|
|
|
|
;; |
|
|
|
|
arm64e) |
|
|
|
|
|
|
|
|
|
# INTRODUCED IN IOS SDK 10 |
|
|
|
|
if [[ $2 == 10* ]] || [[ $2 == 11* ]] || [[ $2 == 12* ]] || [[ $2 == 13* ]] || [[ $2 == 14* ]]; then |
|
|
|
|
# INTRODUCED IN IOS SDK 10.1 |
|
|
|
|
if [[ $(echo "$2 > 10" | bc) -eq 1 ]]; then |
|
|
|
|
local SUPPORTED=1 |
|
|
|
|
else |
|
|
|
|
local SUPPORTED=0 |
|
|
|
@ -49,7 +49,7 @@ disable_ios_architecture_not_supported_on_detected_sdk_version() { |
|
|
|
|
x86-64-mac-catalyst) |
|
|
|
|
|
|
|
|
|
# INTRODUCED IN IOS SDK 13 |
|
|
|
|
if [[ $2 == 13* ]] || [[ $2 == 14* ]]; then |
|
|
|
|
if [[ $(echo "$2 > 12.4" | bc) -eq 1 ]]; then |
|
|
|
|
local SUPPORTED=1 |
|
|
|
|
else |
|
|
|
|
local SUPPORTED=0 |
|
|
|
@ -58,7 +58,7 @@ disable_ios_architecture_not_supported_on_detected_sdk_version() { |
|
|
|
|
arm64-*) |
|
|
|
|
|
|
|
|
|
# INTRODUCED IN IOS SDK 14 |
|
|
|
|
if [[ $2 == 14* ]]; then |
|
|
|
|
if [[ $(echo "$2 > 13.7" | bc) -eq 1 ]]; then |
|
|
|
|
local SUPPORTED=1 |
|
|
|
|
else |
|
|
|
|
local SUPPORTED=0 |
|
|
|
@ -88,7 +88,7 @@ disable_tvos_architecture_not_supported_on_detected_sdk_version() { |
|
|
|
|
arm64-simulator) |
|
|
|
|
|
|
|
|
|
# INTRODUCED IN TVOS SDK 14 |
|
|
|
|
if [[ $2 == 14* ]]; then |
|
|
|
|
if [[ $(echo "$2 > 13.4" | bc) -eq 1 ]]; then |
|
|
|
|
local SUPPORTED=1 |
|
|
|
|
else |
|
|
|
|
local SUPPORTED=0 |
|
|
|
@ -118,7 +118,7 @@ disable_macos_architecture_not_supported_on_detected_sdk_version() { |
|
|
|
|
arm64) |
|
|
|
|
|
|
|
|
|
# INTRODUCED IN MACOS SDK 11 |
|
|
|
|
if [[ $2 == 11* ]]; then |
|
|
|
|
if [[ $(echo "$2 > 10.16" | bc) -eq 1 ]]; then |
|
|
|
|
local SUPPORTED=1 |
|
|
|
|
else |
|
|
|
|
local SUPPORTED=0 |
|
|
|
|