Post

Replies

Boosts

Views

Activity

Reply to Cannot preview SwiftUI
Using Xcode version 13.4.1 and faced the same problem when created new SwiftUI file. Xcode for some reading automatically turns off this toggle switch. Go to yourProject.xcodeproj -> Build Settings -> Build Options -> Enable Previews and toggle it back on to “Yes”.
Sep ’22