Reply to Cannot preview SwiftUI What fixed it for me was copying the Xcode project file and the folder of code into a separate housing folder, and opening that as a separate project - the process in the original post was unnecessary. Developer Tools & Services Xcode Aug ’21