I had the same problem, even after restarting the entire system. I quit Xcode, deleted Derived Data, and then things worked.
For those who have never deleted derived data, here's a primer: This is a url: - deriveddata.dance
Curiously, when I tried the suggestion above:
xcrun simctl --set previews delete all.
Output states:
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
I know I had previously had command-line tools on this machine. Is there something I'm missing or need to reinstall? Thanks!
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: