Skip to content

Drop Swift 6.0#1018

Open
pblazej wants to merge 10 commits into
mainfrom
blaze/drop-swift-6
Open

Drop Swift 6.0#1018
pblazej wants to merge 10 commits into
mainfrom
blaze/drop-swift-6

Conversation

@pblazej
Copy link
Copy Markdown
Contributor

@pblazej pblazej commented May 25, 2026

Motivated by:

  • lack of support form protobufs that would require removing nonisolated and awkward manual steps
  • upcoming beta
  • 26.x forced on App Store

pblazej and others added 7 commits May 25, 2026 09:58
Bumps the baseline in Package.swift, LiveKitClient.podspec, and
.swiftformat. swift-protobuf 1.38.0 no longer supports Swift 6.0 codegen,
forcing the floor up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Now that Swift 6.1 is the floor, macOS 14 + Xcode 16.2 can't satisfy it.
macOS 15 / Xcode 16.4 becomes the lowest tested combination.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
These guarded against the visionOS toolchain bug that landed before
Swift 6.0; with Swift 6.1 as the new floor they're dead conditions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bumping .swiftformat's --swiftversion to 6.1 turns on SE-0439 (extended
trailing commas in calls, init lists, parameter lists, etc.). This is the
one-time reformat to satisfy the lint check.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Leave podspec swift_versions at 5.9 to match its prior state; the SDK's
SwiftPM and source-level minimum is 6.1 regardless.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Remove unused asyncSleep (no callers).
- Inline expectLiveKitError into #expect { ... } throws: { ... }, the
  canonical Swift Testing form already used in RegionManagerTests.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pblazej and others added 3 commits May 25, 2026 11:03
Swift 6.1 infers TaskGroup child task type from the first addTask.
The one E2EE thread test still spells the type explicitly because its
closure returns a bare nil that needs context.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Xcode 26.5 is now available on the macos-26-arm64 runner. Bumps iOS,
visionOS, and tvOS simulator targets to 26.5 in step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Covers publish-docs (iOS sim) and cocoapods-lint matrix entry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant