Turns out it was a mismatch between the Xcode version and the Beta version, probably something to do with SwiftUi headers? Anyway updating solved it.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: