Raise watchOS deployment target to v9 to clear SwiftPM deprecation warning#18
Merged
marcprux merged 1 commit intoJun 19, 2026
Conversation
`.watchOS(.v4)` triggers a deprecation warning on recent Swift toolchains: "'v4' is deprecated: watchOS 9.0 is the oldest supported version". watchOS releases earlier than 9.0 can no longer be targeted by current SDKs, so the declaration is also inert. Bump the minimum from .v4 to .v9 in the package manifest and the SPM test package manifest. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Thank you for your pull request and welcome to the Skip community. We require contributors to sign our contributor license agreement (CLA), and we don't seem to have the user(s) @diskude on file. In order for us to review and merge your code, for each noted user please add your GitHub username to Skip's .clabot file |
Member
|
LGTM, thanks! |
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
Bump the declared minimum watchOS deployment target from
.v4to.v9inPackage.swiftand theTests/SPMtest manifest.Why
Recent Swift toolchains (e.g. Xcode 27 / Swift 6.4) emit a deprecation warning when resolving the package:
watchOS releases earlier than 9.0 can no longer be targeted by current SDKs, so
.watchOS(.v4)is both deprecated and effectively inert. Bumping to the supported floor (.v9) clears the warning with no functional change for any currently-buildable platform.Scope
Package.swift— main package manifest (the source of the warning that consumers see in Xcode).Tests/SPM/Package.swift— same line, for consistency.Left
.iOS(.v11)/.tvOS(.v11)in the test manifest untouched to keep this change scoped to the watchOS deprecation.🤖 Generated with Claude Code