Reply to Cannot preview SwiftUI In Xcode "Product -> Clean Build Folder" worked for me. Developer Tools & Services Xcode Oct ’21