Skip to content
Discussion options

You must be logged in to vote

Can you try setting Package(…, swiftLanguageModes: [.v5]) in your Package.swift? Setting
swiftLanguageModes to v5 should disable Swift 6 concurrency enforcement.

The XCode SWIFT_VERSION will only affect the Xcode project itself, but each imported SwiftPM module will define its own language mode.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@isenberg
Comment options

Answer selected by marcprux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants