Xcode 12 MessageSendingError: Connection interrupted: send previewInstances message to agent

New SwiftUI files are no longer rendering preview in canvas. I'm getting the error

Code Block
MessageSendingError: Connection interrupted: send previewInstances message to agent.


Existing views still render so far, but the default hello world isn't rendering.

I've restarted Xcode, my mac, clean and rebuilt the project and no change. I've tried add .environment(\.colorScheme, .dark) to the preview and that made no difference as well.

What am I missing?
Answered by robevans in 637737022
There's a firebase bug causing this. It's documented here https://github.com/firebase/firebase-ios-sdk/issues/6574
Accepted Answer
There's a firebase bug causing this. It's documented here https://github.com/firebase/firebase-ios-sdk/issues/6574
Xcode 12 MessageSendingError: Connection interrupted: send previewInstances message to agent
 
 
Q