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

前端 未结 5 1247
北恋
北恋 2021-01-17 12:35

I opened Landmark App using SwiftUI on Xcode 11 in macOS Catalina(10.15) and while opening the Canvas Editor for .swift files containing SwiftUI is showing

5条回答
  •  礼貌的吻别
    2021-01-17 12:57

    In the schemes I was able to select, it contained only one scheme. Reopening the folder in a folder that's not in the Downloads directory made live editing work for me

提交回复
热议问题