Are there logs that I can access somehow?
The previews were working just fine, but then stopped and I have reverted all changes since and the previews are still broken.
When you get an error in Xcode Previews, an error banner appears in the canvas
Click the "Diagnostics" button in that banner
In the sheet that appears, click "Generate Report" in the bottom left of the sheet
Attach (or make from the folder) the resulting zip file to the bug (will be named something like previews-diagnostics-0123456789.zip)
I'm using CoreData in my app and the terminal command solved my preview problem. Thx.
Has a fix been found for this? Facing the same issue currently.
I am having the same problem with Preview crashing, but not on all files. However, I actually get a crash screen with OK/Reopen. It's a fairly standard Login screen with AppAuth 1.4.0 from package.
Would be thankful for any help as it is painful to run up app in simulator for UI changes.