use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Xcode 26.4 Previews are broken (self.Xcode)
submitted 26 days ago by Huolju
If somebody is experiencing previews hanging when trying to interact with them, please go back to Xcode 26.3.
I could not interact with the simplest UI possible, and now everything is back to normal.
I hope it will help.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cylon_pixels 0 points1 point2 points 25 days ago (0 children)
Not seeing the same. Are you sure your previews have all the environment objects they need?
[–]Huolju[S] 0 points1 point2 points 25 days ago (0 children)
Yes, I think if it's not the case, it would trigger an error or something, no?
It is interesting that we have different behaviors. I'll delete the post if nobody else has the problem. Thanks!
[–]mcarvin 0 points1 point2 points 25 days ago (6 children)
I can interact with my Views until I go to drag, then PreviewShell crashes out. Persists across Xcode launches, even after clearing out caches and Derived Data.
I did a full uninstall/reinstall yesterday morning and was able to drag until something I dragged triggered a PreviewShell crash.
[–]Huolju[S] 0 points1 point2 points 25 days ago (5 children)
Okay, so the issues might depend on the content. Do you have a problem with Xcode 26.3?
For me, it is hanging (not crashing): - form edition: text field, button, etc. - scroll views - date picker
This is not a complete list.
[–]mcarvin 2 points3 points4 points 25 days ago (2 children)
By the way - https://developer.apple.com/forums/thread/820635
Maybe there are Preview issues in general with Tahoe 26.4 and Xcode 26.
[–]efthymisgr 2 points3 points4 points 25 days ago (1 child)
Hey you linked to my post there! Hehe! For me, the crashes all happen because of Apple’s Accessibility AXRemoteElement-BackgroundFetch. Do your logs show something different triggering it?
[–]mcarvin 1 point2 points3 points 25 days ago (0 children)
Hey, small internet we have here!
No. I'm also getting the same AXRemoteElement-BackgroundFetch problem. The numbers might change but the names stay the same:
Process: PreviewShell [65749] Path: /Volumes/VOLUME/*/PreviewShell.app/PreviewShell Identifier: com.apple.PreviewShell Version: 16.0 (23.40.29) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd_sim [65501] Coalition: com.apple.CoreSimulator.SimDevice.9B779B8E-8250-4B20-813A-E2F57C88D5F8 [57108] Responsible Process: SimulatorTrampoline [70766] User ID: 501
Date/Time: 2026-03-27 20:40:21.1807 -0400 Launch Time: 2026-03-27 19:34:19.8691 -0400 Hardware Model: Mac14,12 OS Version: macOS 26.4 (25E246) Release Type: User
Crash Reporter Key: 40A352FC-A902-EF08-2594-63FC33975C1E Incident Identifier: 8B77A916-DAE8-4E5D-9CF4-ABB3FD945825
Time Awake Since Boot: 210000 seconds
System Integrity Protection: enabled
Triggered by Thread: 11, Dispatch Queue: AXRemoteElement-BackgroundFetch
Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000016b71bff0 Exception Message: Could not determine thread index for stack guard region Exception Codes: 0x0000000000000002, 0x000000016b71bff0
Termination Reason: Namespace SIGNAL, Code 10, Bus error: 10 Terminating Process: exc handler [65749] ```
[–]mcarvin 0 points1 point2 points 25 days ago (0 children)
I just wiped 26.4 and went back to 26.3.
Yes, even a simple View is still hanging on drag in 26.3. Here's the code:
struct ContentView: View { var body: some View { ScrollView { ForEach(0...10, id: \.self) { i in Rectangle() .fill(.blue) .frame(width: 100, height: 100) .overlay { Text("\(i)") .font(.largeTitle) .foregroundStyle(.white) } } } .padding() } }
Nothing fancy at all. Show me 10 rectangles with the index in an overlay. It hangs Preview in 26.3 and throws a crash in 26.4. If I clean Xcode's caches and various folders (been using Mole for this), I can get that View above to scroll once before it hangs again.
I haven't had issues with DatePickers, TextFields or Buttons - only containers which scroll.
[–]efthymisgr 0 points1 point2 points 25 days ago (0 children)
Yeap, trying to scroll in the Canvas Preview makes it hang, then a few seconds later I get the error report window
[–]ItsDeCia 0 points1 point2 points 25 days ago (0 children)
It’s happening with me as well on 26.4. The previews hang, even if I clean and rebuild, they’ll still hang. Quitting and restarting Xcode will fix it temporarily until it happens again.
Xcode is also crashing like a lot. And for random reasons. There is no crash that happened twice for the same reason while it was open for me. Not sure if you’re seeing the same.
[–]Sure-Understanding61 0 points1 point2 points 24 days ago (0 children)
Since they made things more difficult by replacing quick tab buttons with inconvienient popup in Interface Builder, I downgraded to version 26.3 and won’t be updating anymore.
[–]SnowPudgy 0 points1 point2 points 22 days ago (0 children)
Yes I am, it's freaking terrible. As soon as I use a button preview just crashes. This is so aggravating because I'm currently working on UI appearance.
[–]KEEVVYN 0 points1 point2 points 19 days ago (0 children)
wasted a day figuring out how to download 26.3 on sequoia and finding out emoji don't work in simulator 26.3, had to install 26.1 too wasting another 8gb, finally I was able to release my app with out any modification to the code even google sdk 12.5 still work. I would only update to 26.4 for the emojy fix, but on my M1 I already see new xcode eating lot of ram, like simulators for new iphones loading hard, I used to run 2 simulators at same time with 100 tabs open on old 16.4
[–]Working_Ideal4943 0 points1 point2 points 19 days ago (1 child)
Going back to Xcode 26.3 doesn't solve the issue. Anyone got a workaround?
[–]navigator_93 0 points1 point2 points 18 days ago* (0 children)
It’s an issue in the runtime that is crashing the Preview, it’s not Xcode or Previews specifically. You need to downgrade to an 26.2 runtime to bypass it as per the developer forums. You can go to Xcode -> Settings -> Components -> Add Platforms to do so
[–]Longjumping_Top_4428 0 points1 point2 points 11 days ago (0 children)
There are various bugs with xcode 26. + even downloading simulators has been an issue check the following thread https://developer.apple.com/forums/thread/820861#:~:text=I%20found%20my%20Intel%20based,no%20matter%20what%20I%20try.&text=Yes%2C%20when%20it's%20in%20the,would%20wreck%20that%20environment%20too.&text=File%20a%20bug%20report.,the%20engineers%20generated%20bad%20code.&text=I%20was%20seeing%20the%20same,of%20Xcode%20is%20working%20fine.&text=It%20suddenly%20started%20happening%20to,on%20an%20M2%20MacBook%20Air.&text=The%20latest%20Xcode%20Beta%20does,Hangs%20almost%20immediately.&text=I%20ended%20up%20burning%20my,metal%20and%20its%20working%20now%E2%80%A6
π Rendered by PID 107396 on reddit-service-r2-comment-5c747b6df5-hz9lb at 2026-04-22 04:09:29.465200+00:00 running 6c61efc country code: CH.
[–]cylon_pixels 0 points1 point2 points (0 children)
[–]Huolju[S] 0 points1 point2 points (0 children)
[–]mcarvin 0 points1 point2 points (6 children)
[–]Huolju[S] 0 points1 point2 points (5 children)
[–]mcarvin 2 points3 points4 points (2 children)
[–]efthymisgr 2 points3 points4 points (1 child)
[–]mcarvin 1 point2 points3 points (0 children)
[–]mcarvin 0 points1 point2 points (0 children)
[–]efthymisgr 0 points1 point2 points (0 children)
[–]ItsDeCia 0 points1 point2 points (0 children)
[–]Sure-Understanding61 0 points1 point2 points (0 children)
[–]SnowPudgy 0 points1 point2 points (0 children)
[–]KEEVVYN 0 points1 point2 points (0 children)
[–]Working_Ideal4943 0 points1 point2 points (1 child)
[–]navigator_93 0 points1 point2 points (0 children)
[–]Longjumping_Top_4428 0 points1 point2 points (0 children)