Support macOS 15.0 and 15.1 SDKs

This commit is contained in:
Thomas Pöchtrager 2024-08-14 21:21:39 +02:00
parent ed38a713da
commit 4514243411
3 changed files with 4 additions and 3 deletions

View File

@ -190,7 +190,7 @@ Tools for Xcode.
OSXCross.
\*\*
-- Xcode up to 15 Beta 6 is known to work.
-- Xcode up to 16.1 Beta 1 is known to work.
-- Use Firefox if you have problems signing in.
\*\*\*

View File

@ -57,6 +57,8 @@ case $SDK_VERSION in
14.2*) TARGET=darwin23.3; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
14.4*) TARGET=darwin23.5; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
14.5*) TARGET=darwin23.6; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
15|15.0*) TARGET=darwin24; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
15.1*) TARGET=darwin24.1; X86_64H_SUPPORTED=1; I386_SUPPORTED=0; ARM_SUPPORTED=1; NEED_TAPI_SUPPORT=1; OSX_VERSION_MIN_INT=10.13; ;;
*) echo "Unsupported SDK"; exit 1 ;;
esac

View File

@ -5,7 +5,6 @@
export LC_ALL=C
command -v gnutar &>/dev/null
if [ $? -eq 0 ]; then
@ -191,7 +190,7 @@ else
fi
SDKS=$(ls | grep -E "^MacOSX14.*|^MacOSX13.*|^MacOSX12.*|^MacOSX11.*|^MacOSX10.*" | grep -v "Patch")
SDKS=$(ls | grep -E "^MacOSX15.*|^MacOSX14.*|^MacOSX13.*|^MacOSX12.*|^MacOSX11.*|^MacOSX10.*" | grep -v "Patch")
if [ -z "$SDKS" ]; then
echo "No SDK found" 1>&2