Post

Replies

Boosts

Views

Activity

SwiftUI error: "cannot preview in this file"...
Have been working on a SwiftUI widget for WidgetKit, and, after updating to beta 3, at some point, started getting this error: Cannot preview in this file—"widget.appex" is an unsupported extension The details say: UnknownAppExtensionError: "(widget).appex" is an unsupported extension. Previews cannot be hosted in the app extension "widget.appex" Has anyone seen this before? The widget had been previewing fine, and it builds and runs to simulator just fine.
2
0
3.2k
Jul ’20