In Help with approachable-concurrency sample code,
it was suggested that the Image example from
Swift 6.2 Released: Approachable Concurrency
would result in an error, regardless of the “Default Actor Isolation” build setting.
In this MRE, though, the “Default Actor Isolation” does affect the error.
For example, set to “MainActor”, there is no error:
However, with “Default Actor Isolation” of “nonisolated”, we get the expected error:
Configuration:
- Xcode 26.0.1 (17A400)
- Build settings:
- Language version: “Swift 6”
- Approachable concurrency: “Yes”

