-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Xcode 16: Write Blocks Risk Data Races Warnings #8628
Comments
➤ PM Bot commented: Jira ticket: RCOCOA-2391 |
Everything except for the warning from async |
Just a heads up: I updated to 10.52.0 and these warnings are not resolved. |
A thought: I haven't actually switched to Swift 6 language mode in this project because there are a few other blockers unrelated to Realm. I see some switches on the compiler version in the latest Realm update, so perhaps these are false warnings that evaporate with no errors once Swift 6 is enabled? I'll try that when I get back to my Mac this evening. If that's the case, the ubiquitous warnings when the Swift version is <6 are going to mislead a lot of people and are worth resolving. |
Ha, I tried building in Swift 6 Language Mode but Xcode just spat out 13 "Swift compiler failed with a non-zero exit code" errors that have absolutely zero context—there's no associated lines or files, so I have no idea what the "errors" are. This seems like a really bad inflection point in Swift. People are just going to use the 6.0 compiler in 5.0 language mode for the next seven years. Anyway, good luck! |
How frequently does the bug occur?
Always
Description
I'm sure you guys are all over this, but opening a Realm project with Xcode 16 generates roughly 87 bajillion new warnings for simple code like this:
I see some changes in #8618 that look like they might address this, but I'm throwing this here anyway just in case.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Open a Realm 10.51.0-based project in Xcode 16.
Version
10.51.0
What Atlas Services are you using?
Atlas Device Sync
Are you using encryption?
No
Platform OS and version(s)
macOS 14.5
Build environment
Xcode version: 16.0 beta (16A5171c)
Dependency manager and version: SPM
The text was updated successfully, but these errors were encountered: