Repository navigation
feat!: raise minimum deployment targets for Xcode 27 - #98
Merged
Merged
Conversation
Xcode 27 no longer builds for macOS < 12, iOS/tvOS < 15 or watchOS < 9, and PunycodeSwift 5.0.0 raised its minimum deployment targets to those versions. Raise Package.swift and the Xcode project to match (visionOS stays at 1.0) and require PunycodeSwift 5.0.0 through SPM and Carthage. 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! |
1 of 2 tasks
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 no longer builds for macOS < 12, iOS/tvOS < 15 or watchOS < 9, and PunycodeSwift 5.0.0 raised its minimum deployment targets to those versions. SwiftPM rejects a dependency whose minimum OS is higher than the package's own, so TLDExtractSwift has to follow before it can use PunycodeSwift 5.
Package.swift: platforms raised to macOS 12 / iOS 15 / tvOS 15 / watchOS 9 (visionOS stays at 1.0); PunycodeSwift is now.upToNextMajor(from: "5.0.0")Package.resolved,Cartfile,Cartfile.resolved: PunycodeSwift 5.0.0project.pbxproj: deployment targets raised to the same versionsfastlane tests: simulators are resolved at runtime viasimctl(as CI already does), and platforms without an installed runtime are skipped with a warning. Same lane as PunycodeSwift.This is a breaking change; the version bump to 5.0.0 follows in the release commit.
Test plan
swift-format lintswift test(7 tests, 0 failures)xcodebuild ... -destination "platform=macOS" clean teston Xcode 27.2bundle exec fastlane tests: macOS and iOS pass; tvOS / watchOS / visionOS skipped locally (no runtime installed)Fixes FUT-510