Tried to run the following code in Playgrounds as shown in this session: - https://developer.apple.com/videos/play/wwdc2020/10643/
import SwiftUI
import PlaygroundSupport
struct ProgressView: View {
var body: some View {
Text("Hello World")
}
}
PlaygroundPage.current.setLiveView(ProgressView())
Instead of Showing a Preview the following error message is displayed:
There was a problem running this playground. Check the code and try again