I ran into something similar yesterday, it seems like some things have changed since the WWDC videos, but
the online docs are updated.
https://developer.apple.com/documentation/widgetkit/making-a-configurable-widget
I had to make sure the .intentdefinition is included in the widget target as well as the intent handler target.
That fixed my issue with my Intent Handler extension not seeing the autogenerated intent protocols.
Make your intent handler conform to the relevant IntentHandling protocol, then implement the function stubs Xcode suggests.
Then, the widget ignores the IntentHandler until you do this step from the online docs.
"5. In the General tab of the new target’s properties, add an entry in the Supported Intents section and set Class Name to MY-AWESOME-Intent."
Post
Replies
Boosts
Views
Activity
I am seeing the same behavior in Beta 4, the environment always reports the widgetFamily as .systemMedium
No API involved in my case, just static data sent from the timeline.