Following the sample notes at https://developer.apple.com/documentation/widgetkit/creating-lock-screen-widgets-and-watch-complications, when I try to preview the Watch widget, I get an error saying:
Cannot preview in this file
WidgetEntryPointFactory' does not conform to NonUIEntryPoint
RemoteHumanReadableError: Type 'WidgetEntryPointFactory' does not conform to NonUIEntryPoint
(in framework at path /System/Library/PrivateFrameworks/ChronoCore.framework/Support/WidgetPreviewsExtensionAgent.bundle)
==================================
| MessageSendFailure: Message send failure for <ServiceMessage 187: update>
App widgets preview fine though.
Am I doing something obviously wrong?