Post

Replies

Boosts

Views

Activity

Reply to AsyncRenderer causes crashes in ForEach when in Swift 6 language mode
Hey. Having the same issue. We are accessing a MainActor Observable model object from the body, and somehow this being executed off the main thread and throwing the error com.apple.SwiftUI.AsyncRenderer: EXC_BREAKPOINT (code=1, subcode=0x100ecaf18) "%sBlock was %sexpected to execute on queue [%s (%p)]" public var body: some View { ForEach(model.items) { item in content(item) } }
Topic: UI Frameworks SubTopic: SwiftUI
Oct ’25