In Xcode project > Build Settings > Swift Compiler - Concurrency.
When we have those settings : Approachable Concurrency - Yes Default Actor Isolation - MainActor
A sendable struct without @Actor annotation will be stuck to @MainActor. But if we have a sendable struct, by principle, it should be used across Actors.
To remediate the situation, we had to prefix the struct with nonisolated keyword.
The setting "Default Actor Isolation - MainActor" should not add @MainActor to Sendables.
Problem describe in : FB23264607
Problem describe in : FB23264607
That’s already on its way back to you with an explanation as to why you’re seeing this.
If you want to discuss this further, I recommend that you bounce over to Swift Forums > Using Swift. The folks who actually work on this technology are regular contributors over there.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"