Apple: Update to Apple 26.0 SDKs

This commit is contained in:
Stuart Carnie
2025-10-07 15:04:49 +11:00
parent ab3b0db1e1
commit 4b58ce13e4
7 changed files with 176 additions and 116 deletions

View File

@@ -58,14 +58,9 @@ podman_build windows
podman_build web
podman_build android
XCODE_SDK=16.4
OSX_SDK=15.5
IOS_SDK=18.5
TVOS_SDK=18.5
VISIONOS_SDK=2.5
if [ ! -e "${files_root}"/MacOSX${OSX_SDK}.sdk.tar.xz ] || [ ! -e "${files_root}"/iPhoneOS${IOS_SDK}.sdk.tar.xz ] || [ ! -e "${files_root}"/iPhoneSimulator${IOS_SDK}.sdk.tar.xz ] \
|| [ ! -e "${files_root}"/AppleTVOS${TVOS_SDK}.sdk.tar.xz ] || [ ! -e "${files_root}"/AppleTVSimulator${TVOS_SDK}.sdk.tar.xz ] \
|| [ ! -e "${files_root}"/XROS${VISIONOS_SDK}.sdk.tar.xz ] || [ ! -e "${files_root}"/XRSimulator${VISIONOS_SDK}.sdk.tar.xz ]; then
XCODE_SDK=26.0.1
APPLE_SDKV=26.0
if [ ! -e "${files_root}"/MacOSX${APPLE_SDKV}.sdk.tar.xz ] || [ ! -e "${files_root}"/Xcode-Developer${XCODE_SDK}.tar.xz ]; then
if [ ! -r "${files_root}"/Xcode_${XCODE_SDK}.xip ]; then
echo
echo "Error: 'files/Xcode_${XCODE_SDK}.xip' is required for Apple platforms, but was not found or couldn't be read."
@@ -78,10 +73,7 @@ if [ ! -e "${files_root}"/MacOSX${OSX_SDK}.sdk.tar.xz ] || [ ! -e "${files_root}
"$podman" run -it --rm \
-v "${files_root}":/root/files:z \
-e XCODE_SDKV="${XCODE_SDK}" \
-e OSX_SDKV="${OSX_SDK}" \
-e IOS_SDKV="${IOS_SDK}" \
-e TVOS_SDKV="${TVOS_SDK}" \
-e VISIONOS_SDKV="${VISIONOS_SDK}" \
-e APPLE_SDKV="${APPLE_SDKV}" \
godot-xcode:${img_version} \
2>&1 | tee logs/xcode_packer.log
fi