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

Replace 'nonisolated(unsafe)' from Swift 5.10+ with a more compatible approach #207

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

Jeehut
Copy link
Contributor

@Jeehut Jeehut commented Nov 26, 2024

This should fix #191.

While I couldn't reproduce the problem as I can't run Xcode 15.0.1 on my Mac, it makes sense they are getting this error since the nonisolated(unsafe) was introduces in Swift 5.10 (see SE-412). It seems to be an oversight of Apple or the Swift engineers that I can't see the build error when building a package that is using Swift 5.9 toolset in later Swift versions.

@Jeehut Jeehut merged commit 2be7acf into main Dec 2, 2024
6 checks passed
@Jeehut Jeehut deleted the feature/swift-59-compatibility branch December 2, 2024 09:41
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.

SwiftUI Hello World app wouldn't build with SDK version 2.4.1
2 participants