Post

Replies

Boosts

Views

Activity

Reply to Swift UI Preview Crash
I know it's been 3 years, but I found a solution to this issue. If the previews for your project were working just fine, and you started randomly getting preview crashes for certain content views and pages, then it is most likely a programmatic error. Nothing is wrong with your code, but you need to clean and reset the content view code. Then, once the content view preview reloads without crashing, you can paste back the old code and everything should return and work smoothly!
Apr ’23