Post #1604811
2026-04-16 10:54 UTC
@siracusa I agree with your assessment that Xcode previews are crashing because it’s buggy. I was bashing my head against that same wall this week. Some views work, some don’t. Some previews of a view work, while different data in the same view crashes.
This Stack Overflow post appears to be correct, I haven’t crashed since: https://stackoverflow.com/questions/79813033/swiftui-preview-not-working-in-xcode-26-when-automatically-refresh-canvas-is-e
Hugely frustrating to have previews snatched from my hands.
Replies (1)
-
@siracusa@mastodon.social 2026-04-16 13:19
@Drarok@mastodon.social I worked around the permissions issues cited there by adding a new set of entitlements for debug builds that disables sandboxing…and there are still *other* problems beyond that! I'll try the "refresh canvas" thing, but I am not optimistic that it will be a durable fix. The whole system just seems very broken in the latest Xcode.