I am not able to use SwiftUI Preview Here is the report I get while trying to see the issue:
And here is the call and code preview:
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
}
}
#Preview {
ContentView()
}
Please update.