SwiftUI: Automatic Preview Updating Error “Failed to build ContentView.swift”

后端 未结 5 1275
渐次进展
渐次进展 2020-12-30 23:16

I\'m trying to run the Automatic Preview in Xcode 11, however even though the project builds successfully, the automatic preview fails giving me the error Failed to

5条回答
  •  别那么骄傲
    2020-12-30 23:31

    I encountered this problem too. I download Xcode beta-1 before I download macOS 10.15. Then after my system upgrade to 10.15, the preview function didn't work. It turns out that Apple has released Xcode beta-2 version recently, so I downloaded and it worked. So, KEEP THE NEWEST VERSION OF XCODE!!!!

提交回复
热议问题