Xcode forces my Macbook to restart when previewing canvas

I can't use Xcode without it crashing.

Just writing a very simple iOS app with SwiftUI (using only forms and sections). Whenever my canvas updates to correspond to my changes it forces my Macbook to restart.

Does anyone have a solution for this. I'll be honest it's becoming really frustrating.

Thank you.

Macbook M3 Pro 16GB ram, 500gb Space (400gb free space)

Hi,

Sorry to hear about your issues when using previews. The issue you describe sounds like the one listed in the release notes, and discussed quite a bit here: https://developer.apple.com/forums/thread/794221

Unfortunately at this time there isn't a workaround.

Xcode forces my Macbook to restart when previewing canvas
 
 
Q