当按照苹果官方的教程运行第一个SwiftUI工程时,会发现点击Resume会报错
struct ContentView : View {
var body: some View {
Text("Hello World")
.font(.title)
.color(.green)
}
}
这个问题解决很简单,在Xcode中选择Preferences;
然后再选择Location,选择Command下的Xcode 11.0,就可以解决问题了。