Skip to content

Raise watchOS deployment target to v9 to clear SwiftPM deprecation warning#18

Merged
marcprux merged 1 commit into
skiptools:mainfrom
diskude:fix/watchos-deployment-target-deprecation
Jun 19, 2026
Merged

Raise watchOS deployment target to v9 to clear SwiftPM deprecation warning#18
marcprux merged 1 commit into
skiptools:mainfrom
diskude:fix/watchos-deployment-target-deprecation

Conversation

@diskude

@diskude diskude commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

What

Bump the declared minimum watchOS deployment target from .v4 to .v9 in Package.swift and the Tests/SPM test manifest.

Why

Recent Swift toolchains (e.g. Xcode 27 / Swift 6.4) emit a deprecation warning when resolving the package:

'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 .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

`.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>
@cla-bot

cla-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

@marcprux

Copy link
Copy Markdown
Member

LGTM, thanks!

@marcprux marcprux merged commit 9e6c32e into skiptools:main Jun 19, 2026
5 of 6 checks passed
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.

2 participants