When I open a new project in Xcode and run the preview the preview fails and I get the message “expected ‘{‘ in struct”. This is before I enter any new code
Xcode preview bug question
Add a Comment
When I open a new project in Xcode and run the preview the preview fails and I get the message “expected ‘{‘ in struct”. This is before I enter any new code
Hi,
Sorry to hear you are having problems getting previews working. Best next step will be to file a feedback with diagnostics. We will need the diagnostics Xcode Previews generates in order to make sure we understand the error the previews system is encountering.
Then when you get an error in Xcode Previews, an error banner appears in the canvas
previews-diagnostics-0123456789.zip)Great if you can attach your project and source code too, so we can reproduce using the same set up as you.