Repository navigation
build: Raise the minimum platforms to macOS 15 and its year's releases - #378
Merged
Merged
Conversation
1.0.0 requires macOS 15, Mac Catalyst 18, iOS 18, tvOS 18, watchOS 11 and visionOS 2, up from macOS 13, Mac Catalyst 16, iOS 16, tvOS 16, watchOS 9 and visionOS 1. This is what the close comment of #57 promised. VERSIONING.md holds a platform raise for a major release, so it lands before the tag or waits for 2.0. VERSIONING.md gains a Platforms section with the policy: the three newest macOS releases and the other platforms' releases of the same year as the oldest of them, fixed for a whole major version. A later raise ships in a major release only, moves every Apple platform together, removes the availability checks it makes redundant, and is listed under breaking changes with a migration note. No behavior changes. The code has no @available or #available checks for a platform version (the two @available attributes left mark deprecations), and it uses no API that is new in these releases. The fuzz package's macOS minimum follows the root manifest, since SwiftPM refuses a dependency whose minimum is higher than the dependent's. CI already meets the new minimums: the pinned leg is Xcode 16.3 on macos-15, and apple-platform.sh tests on the first simulator xcodebuild offers for the scheme, which is at or above the iOS 18 deployment target. README, the quick start, AGENTS.md, CHANGELOG.md and the migration guide name the new minimums; on macOS 13 or 14, stay on 0.12. Assisted-by: Claude
"On macOS 13 or 14, stay on 0.12" in the README, quick start, CHANGELOG and migration table read as a rule about the development Mac, and left out iOS, Mac Catalyst, tvOS, watchOS and visionOS. They now say that older deployment targets stay on 0.12; the README lists them. The migration snippet's After line used .macOS(.v15) and .iOS(.v18), which PackageDescription introduces in tools 6.0. A dependent package can keep an older manifest while building MCP with a 6.1 toolchain, so the snippet uses the string form, as Package.swift does, and notes the tools version the constants need. Assisted-by: Claude
jeanmatthieu
force-pushed
the
fix/spm-raise-the-floor
branch
from
November 27, 2026 11:36
eb6052f to
a6d3508
Compare
varun06
approved these changes
Nov 28, 2026
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.
Breaking change (VERSIONING.md: raising a platform minimum). Implements the policy promised when #57 was closed: "1.0.0 sets the minimum to macOS 15, with the matching iOS, tvOS, watchOS and visionOS releases".
Summary
Platformssection with the policy. The SDK supports the three newest macOS releases and the other platforms' releases from the year of the oldest one. The minimums stay fixed for the whole major version. A later raise ships only in a major release: it moves every Apple platform together, removes availability checks that become redundant, and is listed under breaking changes with a migration note.Platformssection plus summary row in the migration guide ("on macOS 13 or 14, stay on 0.12"). The generated docs were regenerated with weave. CLAUDE.md names no platform floor, so it is unchanged.Sources/,Tests/,Examples/,conformance/,interop/andfuzz/contain no@availableor#availablechecks for a platform version. The only two@availableattributes mark deprecations. No new API is used.macos-15.apple-iosinscripts/ci/jobsdoesn't pin a runtime.apple-platform.shtests on the first simulator thatxcodebuild -showdestinationsoffers for the scheme, and xcodebuild only offers simulators at or above the deployment target, now iOS 18.CIset, the job fails if no such simulator exists.Evidence
swift build: passes on macOS.swift test:Test run with 1404 tests in 142 suites passed.swift scripts/weave.swift --check:docs are up to date.swift package generate-documentation --target MCP --warnings-as-errors: passes.xcodebuild -scheme mcp-swift-sdk-Package -showdestinations: every offered iOS Simulator meets the iOS 18 floor, soapple-platform.shpicks one that does.Merge Danger
Door: one-way once 1.0.0 is tagged. Until then it is two-way: revert the commit.
Blast Radius: consumers
Apps and packages that depend on
MCPwith a deployment target below macOS 15 / iOS 18 (or the matching tvOS, watchOS, visionOS and Mac Catalyst) stop resolving or building on 1.0.0. They must raise their minimums or stay on.upToNextMinor(from: "0.12.1"). Linux is unaffected.AI assistance: written and opened by Claude at the author's request, for human review before merge.