Xcode canvas and previews don't work

I've recently has an issue where I can't preview any content. In SwiftUI, the canvas is just blank (doesn't even show the device) and for storyboards I get the error "An internal error occurred. Editing functionality may be limited".

This happens on new projects as well as old ones.

I've removed the Xcode application and re-downloaded it but it's still the same.

Has anyone had this issue and managed to fix it?

Hi,

Sorry to hear you are having problems getting previews working. Does build and running in the simulator work?

The best next step will be to file a feedback with diagnostics so we can take a look. We will need the diagnostics Xcode Previews generates in order to make sure we understand the error the previews system is encountering.

Xcode canvas and previews don't work
 
 
Q