Override min SDK for Apple Silicon
- iPhoneSimulator ARM64 = 13.0 - macOS ARM64 = 11.0 Would cause compiler warnings otherwise.
This commit is contained in:
parent
2d7d115186
commit
1cf972d36f
|
@ -46,6 +46,9 @@ do
|
||||||
# Determine platform
|
# Determine platform
|
||||||
if [[ "${TARGET}" == "macos"* ]]; then
|
if [[ "${TARGET}" == "macos"* ]]; then
|
||||||
PLATFORM="MacOSX"
|
PLATFORM="MacOSX"
|
||||||
|
if [[ "${TARGET}" == "macos64-arm64" ]]; then
|
||||||
|
MACOS_MIN_SDK_VERSION="11.0"
|
||||||
|
fi
|
||||||
elif [[ "${TARGET}" == "mac-catalyst-"* ]]; then
|
elif [[ "${TARGET}" == "mac-catalyst-"* ]]; then
|
||||||
PLATFORM="MacOSX"
|
PLATFORM="MacOSX"
|
||||||
elif [[ "${TARGET}" == "watchos-sim-cross"* ]]; then
|
elif [[ "${TARGET}" == "watchos-sim-cross"* ]]; then
|
||||||
|
@ -58,6 +61,9 @@ do
|
||||||
PLATFORM="AppleTVOS"
|
PLATFORM="AppleTVOS"
|
||||||
elif [[ "${TARGET}" == "ios-sim-cross-"* ]]; then
|
elif [[ "${TARGET}" == "ios-sim-cross-"* ]]; then
|
||||||
PLATFORM="iPhoneSimulator"
|
PLATFORM="iPhoneSimulator"
|
||||||
|
if [[ "${TARGET}" == "ios-sim-cross-arm64" ]]; then
|
||||||
|
IOS_MIN_SDK_VERSION="13.0"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
PLATFORM="iPhoneOS"
|
PLATFORM="iPhoneOS"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue