Skip to content

feat!: raise minimum deployment targets for Xcode 27 - #98

Merged
futamura merged 1 commit into
developfrom
fut-510-punycodeswift-5-minimum-os
Nov 23, 2026
Merged

futamura merged 1 commit into
developfrom
fut-510-punycodeswift-5-minimum-os

Conversation

@futamura

Copy link
Copy Markdown
Owner

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.0
  • project.pbxproj: deployment targets raised to the same versions
  • README: requirements updated; installation examples gain a 5.x entry, and the 4.x entry states the old minimum OS
  • CHANGELOG: breaking change noted under Unreleased
  • fastlane tests: simulators are resolved at runtime via simctl (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 lint
  • swift test (7 tests, 0 failures)
  • xcodebuild ... -destination "platform=macOS" clean test on Xcode 27.2
  • bundle exec fastlane tests: macOS and iOS pass; tvOS / watchOS / visionOS skipped locally (no runtime installed)
  • CI: tvOS / watchOS / visionOS on Xcode 16.4 / 26

Fixes FUT-510

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

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@futamura
futamura merged commit 6b48d31 into develop Nov 23, 2026
16 checks passed
@futamura
futamura deleted the fut-510-punycodeswift-5-minimum-os branch November 23, 2026 10:53
@futamura futamura mentioned this pull request Nov 23, 2026
1 of 2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant