Using Previews causes a system crash on Xcode 26 Beta 4 and MacOS 26 Beta 4

Hey,

I've updated to both Xcode 26 Beta 4 and MacOS 26 Beta 4. Both run super stable so far.

However, every time I use Xcode Previews for a few minutes, the entire system freezes for a few seconds and then crashes and reboots.

I'm trying to generate a system diagnosis (which it offers me after the reboot), but it seems to be stuck generating.

It's hard to say what exactly causes the crash, unfortunately. But it happened multiple times after starting to use Xcode Previews.

Anyone else has that problem?

I've also filed a feedback for this: FB19013059

Cheers Dennis

Hi Dennis,

Thanks for filing the feedback. We'll double check using the diagnostics you've attached, but more than likely you are hitting this known issue listed in the release notes:

https://developer.apple.com/documentation/xcode-release-notes/xcode-26-release-notes#Xcode-Previews

https://developer.apple.com/documentation/macos-release-notes/macos-26-release-notes#Xcode-Previews

Ah okay, thanks! Didn't see that. Then it's at least likely to be a known problem 🙂

Sadly it's not just Xcode 26 beta 4.

I think the issue is more with Tahoe Beta 4 than with Xcode?

I have the same issue with beta 3 and Xcode 16.4.

A workaround so far appears to be to use previews on device.

Glad to see I'm not the only one with this problem.

I am getting frequent crashes in Xcode 16.4 that is running on macOS 26 Beta 4 restarting when Previews are active. It happens especially if you change some code in the swift file. The next thing is it freezes, a magenta screen appears for a while, then macOS restarts.

Same here, the most simple edits on text restart my Mac in a way I've never seen any other even more demanding app do. It's impossible to do any work like this.

Happening to us as-well. Impossible to do any work when every 2-3min the whole Mac crashes.

I can't understand how a company like Apple can release such poor quality software. This is outrageous. Even the smallest of startups working on dev tools, don't release products that crash this often and at this level.

What is going on guys?

I am experienced this issue on the Tahoe public beta as well and it is very frustrating. It also happened to me while just writing code (maybe because the preview canvas was updating while I was writing my UI code).

It works when using the Preview on a physical Device (connected iPhone).

I have 2 Mac running Mac OS 26 beta 4 and all encountered this issue when using Xcode preview (both Xcode 16 & Xcode 26 can repo).

It's so easy to reproduce this issue, and it's making the daily development work very painful as you had to reboot with unsaved code...

When can we receive bug fix for this?

Using Previews causes a system crash on Xcode 26 Beta 4 and MacOS 26 Beta 4
 
 
Q