WidgetKit error on configurable widget

I am creating a widget that has configurable content and I'm getting this error on the Mac OS when running the WidgetExtension in the Mac WidgetKit Simulator
The operation could not be completed. (CHSErrorDomain error 1101.)

I must be missing something somewhere, all my other widgets are working fine, but with the dynamic widget where the user can edit the widget, when coding in the swift file I'm always getting warnings that appear then disappear about
Cannot find type 'DynamicPersonSelectionIntent' in scope When I build it goes away.

I have added DynamicPersonSelection.intentdefinition.
I have an IntentHandler.swift with an IntentHandler: DynamicPersonSelectionIntentHandling.
In the Target Intent handler I have added the supported Intent,
In the framework section is the Intents.framework.
I have check all the Tagret memberships I think.

The widget works sometimes? on the iPhone but not on the Mac at all. On the iPhone its usually blank until I add it to the Home Screen. Can work out where the issue is, Ive tried various iterations of Placeholder, Snapshot and Timeline. The issues seams to be because of the IntentTimelineProvider, with a TimelineProvider and static content everything woks fine .

I must be missing something. Please help if you can.
Bump, getting exactly the same error when trying to run my widget on macOS. It works perfectly fine on iOS
WidgetKit error on configurable widget
 
 
Q