ios - Cannot preview in this file - active scheme does not build this file : SwiftUI on Xcode 11 in CatalinaOS - TagMerge
3Cannot preview in this file - active scheme does not build this file : SwiftUI on Xcode 11 in CatalinaOSCannot preview in this file - active scheme does not build this file : SwiftUI on Xcode 11 in CatalinaOS

Cannot preview in this file - active scheme does not build this file : SwiftUI on Xcode 11 in CatalinaOS

Asked 8 months ago
20
3 answers

If this is a new project coming from a copied folder and inside an iCloud folder, just close Xcode and relaunch it. The sync was not yet done.

Source: link

14

Select the Scheme that has the current file to Preview
enter image description here

Source: link

5

I experienced the same issue. All I did was to copy the "StartingPoint" folder out of the downloaded folder and relaunched the project. It worked!!!

Source: link

Recent Questions on ios

    Programming Languages