Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update samples repo to Swift 6 #150939

Open
loic-sharma opened this issue Jun 27, 2024 · 0 comments
Open

Update samples repo to Swift 6 #150939

loic-sharma opened this issue Jun 27, 2024 · 0 comments
Labels
P2 Important issues not at the top of the work list platform-ios iOS applications specifically platform-mac Building on or for macOS specifically team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team

Comments

@loic-sharma
Copy link
Member

loic-sharma commented Jun 27, 2024

Background

Swift 6 language mode enables strict concurrency checking. Code changes may be necessary to upgrade a package to the Swift 6 language mode.

A Swift 6 app can depend on Swift 5 packages and vice-versa. The Swift 6 compiler supports both Swift 6 and Swift 5 language modes.

WWDC session: https://www.youtube.com/watch?v=75-c6jSE8kU
Migration docs: https://www.swift.org/migration/documentation/swift-6-concurrency-migration-guide/swift6mode/

See also:

Work

Update the flutter/samples repo to use Swift 6:

https://github.com/search?q=repo%3Aflutter%2Fsamples+path%3A.swift+NOT+path%3AGeneratedPluginRegistrant.swift&type=code

@loic-sharma loic-sharma added platform-ios iOS applications specifically platform-mac Building on or for macOS specifically P2 Important issues not at the top of the work list team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team labels Jun 27, 2024
@loic-sharma loic-sharma changed the title Update samples to Swift 6 Update samples repo to Swift 6 Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Important issues not at the top of the work list platform-ios iOS applications specifically platform-mac Building on or for macOS specifically team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team
Projects
None yet
Development

No branches or pull requests

1 participant