Skip to content

Support for Both Swift 5 and 6 in Package Builds #3138

Closed Answered by finestructure
onevcat asked this question in Q&A
Discussion options

You must be logged in to vote

I believe you should be able to set SWIFT_VERSION to 5 via the scheme. If that's problematic for your current scheme, you could add another one and reference it via the scheme: in .spi.yml.

Maybe this page here has some useful info? https://www.swift.org/migration/documentation/swift-6-concurrency-migration-guide/swift6mode/

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@finestructure
Comment options

Answer selected by onevcat
@onevcat
Comment options

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