Skip to content

fix: raise minimum deployment target to iOS 15 for Xcode 27 - #78

Open
RTsta wants to merge 1 commit into
masterfrom
fix/xcode27-min-deployment
Open

RTsta wants to merge 1 commit into
masterfrom
fix/xcode27-min-deployment

Conversation

@RTsta

@RTsta RTsta commented Sep 17, 2026

Copy link
Copy Markdown

Why

Xcode 27 drops the ability to build packages targeting below iOS 15 — the Xcode 27 release notes enforce a minimum iOS deployment target of 15.0, and building against a lower target now fails outright.

What's changing

  • Package.swift: bump .iOS from .v14 to .v15 (.macOS(.v12) / .watchOS(.v9) already satisfy the equivalent minimums, so left unchanged)
  • Removed the now-redundant @available(iOS 15.0, *) attributes across the Upload API (UploadAPIManaging.swift, UploadAPIManager.swift, UploadTask.swift, UploadAPIManagerTests.swift), since that code was already iOS-15-only and the package minimum now matches

Xcode 27 enforces a minimum iOS deployment target of 15.0 and refuses
to build packages targeting anything lower. Bump Package.swift's iOS
platform from v14 to v15 (macOS 12 / watchOS 9 already satisfy the
equivalent minimums) and drop the now-redundant @available(iOS 15.0, *)
attributes in the Upload API, which were already gating that code at
iOS 15 regardless of the package's stated minimum.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@RTsta
RTsta marked this pull request as ready for review September 17, 2026 12:35
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