Hi, I'm updating our app to use Xcode 16 and Swift 6 language mode. I'm stuck on updating our live activity code. I looked at the Emoji Rangers sample project and after switching it to Swft 6 mode, it has the exact same errors as our project.
The main problem seems to be that Activity is not Sendable
, which prevents us from passing it to child tasks to await
things like activityStateUpdates
and contentUpdates
(those are also not Sendable
).
Is there any guidance on this? Updated sample code? Another project?