From 6d3c400e4aa73f49859625e8473da1f0c483b05c Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 9 Nov 2026 23:33:23 +0100 Subject: [PATCH] ci(native): build the iOS app with Xcode 27.1 on the xcode-27 image An app linked against an SDK older than iOS 27.1 runs letterboxed on the inner display of an iPhone Duo. The iOS build and the release now run on GitHub's xcode-27 image and select Xcode 27.1; the previews stay on Xcode 26. --- .github/workflows/native-release.yml | 12 +++++++----- .github/workflows/native.yml | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/native-release.yml b/.github/workflows/native-release.yml index 94156512c..62abf81cc 100644 --- a/.github/workflows/native-release.yml +++ b/.github/workflows/native-release.yml @@ -111,19 +111,21 @@ jobs: ios: if: github.repository == 'liketrek/TREK' - runs-on: macos-15 + runs-on: xcode-27 timeout-minutes: 60 environment: store steps: - uses: actions/checkout@v6 - # App Store uploads must be built with Xcode 26; the image's default is older. - - name: Select Xcode 26 + # The iOS 27.1 SDK, on the xcode-27 image: an app built against an older SDK + # runs letterboxed on the inner display of an iPhone Duo. + - name: Select Xcode 27.1 run: | - XCODE=$(ls -d /Applications/Xcode_26*.app | sort -V | tail -1) - test -n "$XCODE" + XCODE=/Applications/Xcode_27.1.app + test -d "$XCODE" sudo xcode-select -s "$XCODE" xcodebuild -version + xcodebuild -showsdks | grep iphoneos27.1 - uses: actions/setup-node@v6 with: diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index 22b140067..734e8a923 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -90,18 +90,20 @@ jobs: retention-days: 14 ios: - runs-on: macos-15 + runs-on: xcode-27 timeout-minutes: 40 steps: - uses: actions/checkout@v6 - # App Store uploads must be built with Xcode 26; the image's default is older. - - name: Select Xcode 26 + # The iOS 27.1 SDK, on the xcode-27 image: an app built against an older SDK + # runs letterboxed on the inner display of an iPhone Duo. + - name: Select Xcode 27.1 run: | - XCODE=$(ls -d /Applications/Xcode_26*.app | sort -V | tail -1) - test -n "$XCODE" + XCODE=/Applications/Xcode_27.1.app + test -d "$XCODE" sudo xcode-select -s "$XCODE" xcodebuild -version + xcodebuild -showsdks | grep iphoneos27.1 - name: Check the property lists run: plutil -lint client/ios/App/App/Info.plist client/ios/ExportOptions.plist client/ios/App/NotificationService/Info.plist client/ios/App/NotificationService/NotificationService.entitlements client/ios/App/App/App.entitlements client/ios/App/TREKWidgets/Info.plist client/ios/App/TREKWidgets/TREKWidgets.entitlements client/ios/App/TREKWidgets/*.lproj/Localizable.strings client/ios/App/ShareExtension/Info.plist client/ios/App/ShareExtension/ShareExtension.entitlements client/ios/App/ShareExtension/*.lproj/Localizable.strings client/ios/App/TREKWatch/Info.plist client/ios/App/TREKWatch/TREKWatch.entitlements client/ios/App/TREKWatch/*.lproj/Localizable.strings client/ios/App/TREKWatchWidgets/Info.plist client/ios/App/TREKWatchWidgets/TREKWatchWidgets.entitlements