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

后端 未结 5 1305
渐次进展
渐次进展 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:30

    I solved that problem by going to the Xcode - Preferences -> Locations and assigning the Command Line Tools to Xcode 11. Also keep in mind that it is a beta, so it is unstable.

提交回复
热议问题