Ok, specific problem then. I downloaded Emoji Rangers, switched language mode to Swift 6, udpated some static vars to static lets, commented out the contents of ImageURLProtocol.stopLoading and finally got to the issue in AdventureView.swift:
This error is the one I can't seem to solve - Main actor-isolated value of type '() async -> Void' passed as a strongly transferred parameter; later accesses could race. As far as I understand it, here it basically means that something that is not Sendable is being sent between contexts.
It is not possible to remove @MainActor here because activityViewState is isolated to it:
And even if this was not a factor, the original error reappears once activityViewState is no longer in the picture:
The only workaround I've found feels wrong:
extension Activity: @unchecked @retroactive Sendable {}
Topic:
App & System Services
SubTopic:
General
Tags: