Hive Hive
Sign in

Fix main actor isolation mapping for external SwiftPM dependencies

Metadata
Source
GitHub
Version
4.194.1
Published
May 14, 2026 · 11:18 UTC
Repository
tuist/tuist
Update

SwiftPM packages that opt into default main actor isolation via .defaultIsolation(MainActor.self) are now correctly mapped to Xcode’s SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor build setting. Previously, Tuist emitted main-actor, which Xcode ignored, so external packages compiled without the expected concurrency isolation. Nonisolated targets continue to map to nonisolated.