I also get this error. Did you fix it?
This was from a new install of xcode and swift, create new project, try and preview
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: