Repository navigation
feat!: raise minimum deployment targets for Xcode 27 - #103
Merged
Merged
Conversation
Xcode 27 no longer builds for macOS < 12, iOS/tvOS < 15 or watchOS < 9, so raise Package.swift and the Xcode project to those versions (visionOS stays at 1.0). This is a breaking change for 5.0.0. The fastlane tests lane now resolves simulators at runtime like CI and skips platforms with no installed runtime, instead of hardcoding device names that no longer exist.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merged
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.
Summary
Xcode 27 rejects the current deployment targets (
The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.13, but the range of supported deployment target versions is 12.0 to 27.2.x), so the project no longer builds locally with it. This raises the minimums to the lowest versions Xcode 27 supports. Breaking change — to be released as 5.0.0.Package.swiftandproject.pbxprojupdated together. No source changes (no availability checks existed).README.md: requirements and a newfrom: "5.0.0"install tier; the 4.x tier now lists its older minimums.CHANGELOG.md: breaking change under Unreleased.fastlane tests: simulators are resolved at runtime (newest runtime first), mirroring CI, and platforms without an installed runtime are skipped with a warning. The hardcoded names (iPhone 15 Pro, etc.) no longer existed.Downstream: TLDExtractSwift depends on
.upToNextMajor(from: "4.0.0"), so it stays on 4.x until it raises its own minimums — hence the major bump.Verification
swift build/swift test,fastlane lint_swiftfastlane testson Xcode 27.2: macOS and iOS (iPhone 17 Pro) pass with slather reports; tvOS/watchOS/visionOS skipped (no runtime installed locally)