This simply changes IPHONEOS_BASESDK_VERSION and IPHONE_SIMULATOR_BASESDK_VERSION in build-env.sh to dynamically use the user's latest SDK version, using xcrun --sdk iphoneos --show-sdk-version. Took this from some of the other scripts around.
Also added an option to the script (-v for "verbose" mode) to be able to see the build output from the scripts - this was useful for me to be able to debug what was failing.
./script/build-3rdparty-software.sh
does not work on Xcode 12.4 / iOS SDK 14.4 (as you mentioned here https://github.com/herzbube/littlego/issues/346#issuecomment-770309284).This simply changes
IPHONEOS_BASESDK_VERSION
andIPHONE_SIMULATOR_BASESDK_VERSION
inbuild-env.sh
to dynamically use the user's latest SDK version, usingxcrun --sdk iphoneos --show-sdk-version
. Took this from some of the other scripts around.Also added an option to the script (
-v
for "verbose" mode) to be able to see the build output from the scripts - this was useful for me to be able to debug what was failing.