Apple Platform Deployment Targets
When to invoke
- Starting a new iOS / macOS App and setting the minimum deployment version.
- Writing the
platforms: block in Package.swift.
- Deciding whether an API newer than the floor (next major) is worth bumping for, or whether a client / user-base requirement forces dropping below the floor.
- User asks about minimum iOS / macOS version or whether to support the previous major version.
Kickoff order
This skill is the entry point for a new Apple-platform project — decide these defaults in this order, each via its own skill:
- Platform (this skill) — minimum deployment target.
swiftpm-modularization — package / module shape.
swift6-concurrency — language mode and concurrency checking.
swift-testing-baseline — test framework and snapshot strategy.
oslog-logger-defaults, telemetry-facade-pattern, apple-three-piece-analytics — logging, telemetry facade, and analytics stack.
mise-tool-management — CLI tool version manager.
xcode-cloud-single-track-ci — CI pipeline.
Then, per screen rather than per project: swiftui-navigation-architecture for the route shape and
ios-accessibility-engineering for every new user-facing screen. The a11y skill triggers on explicit
accessibility work, so on a new screen you invoke it deliberately — VoiceOver labels, Dynamic Type,
and hit targets are cheaper to build in than to retrofit.
Default decisions
- iOS 26 / macOS 26 as the default minimum deployment target.
- Toolchain: Xcode 26.x (Swift 6.2+ compiler). Language mode is decided in
swift6-concurrency, not here — Xcode 26 builds Swift 6 mode for any floor, so the floor is a product decision, not a toolchain one.
- Do not auto-bump with each Xcode major — bumping requires an explicit decision recorded in
foundations.md (collaboration-skills:spec-phase-orchestration layout).
- Keep
Package.swift platforms: [.iOS(.v26), .macOS(.v26)] aligned with every App target's IPHONEOS_DEPLOYMENT_TARGET / MACOSX_DEPLOYMENT_TARGET; no skew. .v26 requires // swift-tools-version: 6.2 (6.0 / 6.1 report 'v26' is unavailable).
Rationale
- iOS 26 / macOS 26 is the first OS pair with Liquid Glass: on a 26 floor the system chrome (toolbars, tab bars, sheets,
.glassEffect()) is one design language, with no #available fork and no legacy-look branch to test.
- The floor no longer buys toolchain features — Xcode 26 compiles Swift 6 mode and the Swift 6.2 concurrency additions for older floors too. What a lower floor costs is a second UI generation to maintain; what it buys is users who haven't updated.
- Solo / small projects have no installed base to protect, and Apple's adoption curve puts the current major on the large majority of active devices within months of release, so the compatibility tax is small.
- Locking out auto-bumps prevents blindly chasing each Xcode major (the next is iOS 27 / macOS 27) and cutting off users mid-cycle.
Deviation considerations
Drop down to iOS 18 / macOS 15
- Trigger: an existing user base still on 18 / 15; a client or reviewer requires N-1 support; TestFlight testers who cannot upgrade.
- Cost: every Liquid Glass API (
.glassEffect(), GlassEffectContainer, .tabBarMinimizeBehavior) needs #available(iOS 26, *) guards, and the pre-26 look of toolbars / tab bars / sheets must be snapshot-tested separately; iOS 26-only Foundation and SwiftData additions are off-limits.
- How to record: note "deviating from apple-platform-targets default" in
foundations.md with the reason and the list of guarded APIs.
Drop down to iOS 17 / macOS 14 or lower
- Trigger: education, enterprise intranet, or low-end markets with a large older-device pool.
- Cost: everything above, plus the Swift 6 runtime-dependent features that need an iOS 18 runtime (full SE-0427 noncopyable-generics support) and iOS 18+ SwiftData fixes. Note what a lower floor does not cost:
@Observable has been available since iOS 17.0, and Swift 6 language-mode checking is a compile-time toolchain feature independent of the deployment target.
- Advice: record which APIs are off-limits and which behaviours need polyfills.
Bump up to iOS 27 / macOS 27 (or newer)
- Trigger: an API that exists only in the newest major.
- Conditions: brand-new App with no user base, or a personal / showcase project willing to cut off the previous major.
- Cost: TestFlight testers and App Review devices must be on the newest major; the catalog's other skills are written against the 26 baseline.
- How to record: same
foundations.md note.
Verification checklist when locking targets
Package.swift platforms: matches every App target's deployment target build setting.
- The Xcode version is recorded in the README /
foundations.md toolchain line and matches the Xcode Cloud workflow's Xcode setting (.mise.toml pins CLI tools, not Xcode — see mise-tool-management).
Related skills
swift6-concurrency: language mode is independent of the deployment floor on Xcode 26; read it next in the kickoff order.
xcode-cloud-single-track-ci: CI Xcode version lock.
mise-tool-management: pins CLI tools, not Xcode itself.
1---2name: apple-platform-targets3description: Default minimum deployment target for Apple-platform Swift Apps — iOS 26 / macOS 26 on the Xcode 26 toolchain (Swift 6 language mode) — and how to deviate down (iOS 18 / 17) or up. Use when starting a new Apple-platform project, writing the Package.swift `platforms:` list, deciding whether an API newer than the floor is worth bumping for or a client requirement forces dropping below it, or when asked "what should the minimum iOS / macOS version be". Entry point of the bootstrap chain; does NOT own language mode → swift6-concurrency, or module layout → swiftpm-modularization.4---56# Apple Platform Deployment Targets78## When to invoke910- Starting a new iOS / macOS App and setting the minimum deployment version.11- Writing the `platforms:` block in `Package.swift`.12- Deciding whether an API newer than the floor (next major) is worth bumping for, or whether a client / user-base requirement forces dropping below the floor.13- User asks about minimum iOS / macOS version or whether to support the previous major version.1415## Kickoff order1617This skill is the entry point for a new Apple-platform project — decide these defaults in this order, each via its own skill:18191. **Platform** (this skill) — minimum deployment target.202. `swiftpm-modularization` — package / module shape.213. `swift6-concurrency` — language mode and concurrency checking.224. `swift-testing-baseline` — test framework and snapshot strategy.235. `oslog-logger-defaults`, `telemetry-facade-pattern`, `apple-three-piece-analytics` — logging, telemetry facade, and analytics stack.246. `mise-tool-management` — CLI tool version manager.257. `xcode-cloud-single-track-ci` — CI pipeline.2627Then, per screen rather than per project: `swiftui-navigation-architecture` for the route shape and28`ios-accessibility-engineering` for every new user-facing screen. The a11y skill triggers on explicit29accessibility work, so on a new screen you invoke it deliberately — VoiceOver labels, Dynamic Type,30and hit targets are cheaper to build in than to retrofit.3132## Default decisions3334- **iOS 26 / macOS 26** as the default minimum deployment target.35- Toolchain: **Xcode 26.x** (Swift 6.2+ compiler). Language mode is decided in `swift6-concurrency`, not here — Xcode 26 builds Swift 6 mode for any floor, so the floor is a product decision, not a toolchain one.36- Do not auto-bump with each Xcode major — bumping requires an explicit decision recorded in `foundations.md` (`collaboration-skills:spec-phase-orchestration` layout).37- Keep `Package.swift` `platforms: [.iOS(.v26), .macOS(.v26)]` **aligned** with every App target's `IPHONEOS_DEPLOYMENT_TARGET` / `MACOSX_DEPLOYMENT_TARGET`; no skew. `.v26` requires `// swift-tools-version: 6.2` (6.0 / 6.1 report `'v26' is unavailable`).3839## Rationale4041- iOS 26 / macOS 26 is the first OS pair with Liquid Glass: on a 26 floor the system chrome (toolbars, tab bars, sheets, `.glassEffect()`) is one design language, with no `#available` fork and no legacy-look branch to test.42- The floor no longer buys toolchain features — Xcode 26 compiles Swift 6 mode and the Swift 6.2 concurrency additions for older floors too. What a lower floor costs is a second UI generation to maintain; what it buys is users who haven't updated.43- Solo / small projects have no installed base to protect, and Apple's adoption curve puts the current major on the large majority of active devices within months of release, so the compatibility tax is small.44- Locking out auto-bumps prevents blindly chasing each Xcode major (the next is iOS 27 / macOS 27) and cutting off users mid-cycle.4546## Deviation considerations4748### Drop down to iOS 18 / macOS 154950- **Trigger**: an existing user base still on 18 / 15; a client or reviewer requires N-1 support; TestFlight testers who cannot upgrade.51- **Cost**: every Liquid Glass API (`.glassEffect()`, `GlassEffectContainer`, `.tabBarMinimizeBehavior`) needs `#available(iOS 26, *)` guards, and the pre-26 look of toolbars / tab bars / sheets must be snapshot-tested separately; iOS 26-only Foundation and SwiftData additions are off-limits.52- **How to record**: note "deviating from apple-platform-targets default" in `foundations.md` with the reason and the list of guarded APIs.5354### Drop down to iOS 17 / macOS 14 or lower5556- **Trigger**: education, enterprise intranet, or low-end markets with a large older-device pool.57- **Cost**: everything above, plus the Swift 6 runtime-dependent features that need an iOS 18 runtime (full SE-0427 noncopyable-generics support) and iOS 18+ SwiftData fixes. Note what a lower floor does *not* cost: `@Observable` has been available since iOS 17.0, and Swift 6 language-mode checking is a compile-time toolchain feature independent of the deployment target.58- **Advice**: record which APIs are off-limits and which behaviours need polyfills.5960### Bump up to iOS 27 / macOS 27 (or newer)6162- **Trigger**: an API that exists only in the newest major.63- **Conditions**: brand-new App with no user base, or a personal / showcase project willing to cut off the previous major.64- **Cost**: TestFlight testers and App Review devices must be on the newest major; the catalog's other skills are written against the 26 baseline.65- **How to record**: same `foundations.md` note.6667## Verification checklist when locking targets6869- `Package.swift` `platforms:` matches every App target's deployment target build setting.70- The Xcode version is recorded in the README / `foundations.md` toolchain line and matches the Xcode Cloud workflow's Xcode setting (`.mise.toml` pins CLI tools, not Xcode — see `mise-tool-management`).7172## Related skills7374- `swift6-concurrency`: language mode is independent of the deployment floor on Xcode 26; read it next in the kickoff order.75- `xcode-cloud-single-track-ci`: CI Xcode version lock.76- `mise-tool-management`: pins CLI tools, not Xcode itself.