I can't run SwiftUI Previews in Xcode since some betas and only in one project.
I keep getting the error
Command CompileSwiftSources failed with a nonzero exit code
I can normally install the app on my phone and also run it in the simulator but not the preview for SwiftUI.
I don't know what's wrong and also this error message is not really helping.
Do you know a way to get a better error message to see what's causing the error?
I'm currently running Xcode 13 RC but it also happened with Beta 4 and 5