Sam Deanesamdeane@mastodon.org.uk
Mar 31, 2026, 11:13 AMTo be clear:
the local private `resourceBundle` is not marked as `nonisolated`, so inherits the target's default main actor isolation.
Even if this weren’t the case, the generated `Bundle.module` is also not marked as `nonisolated` and so that also inherits the target's main actor isolation.
This is true even with `.enableExperimentalFeature("SendableProhibitsMainActorInference”)` turned on for the target (Bundle is Sendable according to the Obj-C header file).