SwiftUI Preview crashing in XCODE 13 You can’t use this version of the application “APPNAME” with this version of macOS

I have a brand new MacBook pro running xcode 13, halfway through a project for no reason, this error starts happening. Everything is already up to date, is anyone else getting this?

extremely annoying and doesn't seem to be a fix, restarts, clean build nothing just breaks.

Answered by Legend_33 in 702797022

After lots of pain I actually narrowed this down to a swiftUI wrapper @FocusState

the fix - wrap your previews in a zstack

a horrible bug which apple need to fix

Accepted Answer

After lots of pain I actually narrowed this down to a swiftUI wrapper @FocusState

the fix - wrap your previews in a zstack

a horrible bug which apple need to fix

SwiftUI Preview crashing in XCODE 13 You can’t use this version of the application “APPNAME” with this version of macOS
 
 
Q