Post

Replies

Boosts

Views

Activity

Reply to WidgetKit development issue with Xcode 12 beta 4 using Intents
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."
Aug ’20