Xcode restarts my Macbook when previewing canvas

I have an issue with Xcode that it crashes my Macbook and restarts it instantly when I unpause the preview canvas.

I managed to make it run for a minute longer by not watching a youtube video.

I am writing a very simple SwiftUI project for iOS nothing too big to warrant any issues.

Does anyone have a solution to fix this?

Macbook Pro M3 16GB RAM, 500GB SSD (plenty of storage space)

Tahoe 26.0

Answered by DTS Engineer in 852259022

Let's consolidate this thread with your other one.

— Ed Ford,  DTS Engineer

Accepted Answer

Let's consolidate this thread with your other one.

— Ed Ford,  DTS Engineer

Xcode restarts my Macbook when previewing canvas
 
 
Q