Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

ci(native): build the iOS app with Xcode 27.1 on the xcode-27 image

Maurice6d3c400e4aa7
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