iOS 26 SDK Support

Merge pull request #930 from leobsst/main - Fix broken build above iOS 17.5 SDK
This commit is contained in:
aricloverEXTRA 2025-12-13 17:53:33 -06:00 committed by GitHub
commit 553c49d177
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View file

@ -8,7 +8,7 @@ on:
inputs:
sdk_version:
description: "iOS SDK Version"
default: "17.5"
default: "26.0"
required: true
type: string
uyou_version:
@ -54,7 +54,7 @@ concurrency:
jobs:
build:
name: Build uYouEnhanced
runs-on: macos-14
runs-on: macos-26
permissions:
contents: write
@ -141,10 +141,13 @@ jobs:
id: build_package
run: |
cd ${{ github.workspace }}/main
export THEOS_SDK_NAME=iPhoneOS${{ inputs.sdk_version }}.sdk
export SDKVERSION=${{ inputs.sdk_version }}
export SYSROOT=$THEOS/sdks/$THEOS_SDK_NAME
sed -i '' "30s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile # Modify the bundle ID
sed -i '' "29s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile # Modify the app name
sed -i '' "1s#.*#export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0#g" Makefile # Modify the SDK version
make package THEOS_PACKAGE_SCHEME=rootless IPA=Payload/YouTube.app FINALPACKAGE=1
make package THEOS_PACKAGE_SCHEME=rootless IPA=Payload/YouTube.app FINALPACKAGE=1 SDKVERSION=${{ inputs.sdk_version }}
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"

View file

@ -1,5 +1,3 @@
export TARGET = iphone:clang:17.5:15.0
export SDK_PATH = $(THEOS)/sdks/iPhoneOS17.5.sdk/
export SYSROOT = $(SDK_PATH)
export ARCHS = arm64
@ -16,7 +14,7 @@ MODULES = jailed
endif
ifndef YOUTUBE_VERSION
YOUTUBE_VERSION = 20.33.2
YOUTUBE_VERSION = 20.25.4
endif
ifndef UYOU_VERSION
UYOU_VERSION = 3.0.4