Using ForEach always crashes a Playground on MacOS:
Code Block swift import PlaygroundSupport import SwiftUI struct ContentView: View { var body: some View { ForEach(["Any", "Data"], id: \.hashValue) { str in Text(str) } } } PlaygroundPage.current.setLiveView(ContentView())
Code Block error: Execution was interrupted, reason: signal SIGABRT.