Sometimes when I am writing my code, previews blacks out and crashes and I get the warning PreviewShell crashed unexpectedly.
My Xcode has also been crashing a lot more after updating to Xcode 16. Does anyone have any idea why?
Sometimes when I am writing my code, previews blacks out and crashes and I get the warning PreviewShell crashed unexpectedly.
My Xcode has also been crashing a lot more after updating to Xcode 16. Does anyone have any idea why?
Can't help you (yet) but you're not alone ;)
Just as a workaround, run this in a terminal:
xcrun simctl --set previews shutdown all
... seems to fix the glitch for the moment