CI: move to the xcode-27 runner image#123
Merged
Merged
Conversation
GitHub now offers an `xcode-27` runner image (public preview), keyed to the Xcode major version rather than the OS. Move both CI jobs to `runs-on: xcode-27` so we build and test on Xcode 27 (Swift 6.4). The image ships only the iOS 27.0 simulator runtime, so pin the test destination to iPhone 17 / OS 27.0. This also unblocks Xcode's String Catalog symbol generation for SwiftPM package targets, which is only reliable on Xcode 27. Deployment target stays iOS 26.0 — building it with the iOS 27 SDK is fine; raising the minimum OS is a separate follow-up. Add a CoreSimulator warm-up step since the preview image can need a nudge to rebuild its device cache. Update docs (AGENTS.md, README.md, RegionViewer) and the profile/flaky script defaults to match.
This was referenced Jul 23, 2026
kyleve
commented
Jul 23, 2026
| - uses: actions/checkout@v4 | ||
| - uses: jdx/mise-action@v3 | ||
| # The xcode-27 image is a public-preview image whose CoreSimulator can | ||
| # need a nudge to rebuild its device cache before a destination resolves. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Moves CI onto GitHub's new
xcode-27runner image (public preview) so we build and test on Xcode 27 (Swift 6.4).Why
GitHub's Xcode 27 runner image is now available, and its new support model keys images to the Xcode major version rather than the OS — hence the
xcode-27label instead ofmacos-27.Beyond keeping the toolchain current, this unblocks Xcode's String Catalog symbol generation for SwiftPM package targets, which is only reliable on Xcode 27 (it mis-ordered generation in the test-bundle build graph on Xcode 26.x). The type-safe strings migration lands as a follow-up PR on top of this.
Changes
format,test) →runs-on: xcode-27.iPhone 17 / OS 27.0(the device still exists there).xcrun simctl listCoreSimulator warm-up step — the preview image can need a nudge to rebuild its device cache before a destination resolves.AGENTS.md,README.md,RegionViewer/README.md, and theprofile/flakyscript defaults.Not in scope
HistoryObserver) is a separate follow-up.Verification
./swiftformat --lintclean.xcode-27image.