Configurable Widget doesn’t load

After following the documentation for WidgetKit to implement a Configurable Widget and running the app, the simulator shows an empty widget and the Xcode console shows this message:

Code Block
No intent in timeline(for:with:completion:)
No intent in timeline(for:with:completion:)


The same issue appears when running the widget target of the sample code from Building Widgets Using WidgetKit and SwiftUI.

Accepted Reply

After a bit more testing, I found that this issue only affects when running the Widgets Extension on the simulator. If you run it on a real device it works correctly.

Replies

Hi, sorry about that. Can you file a feedback to WidgetKit. That will collect useful logs from your device to help us see what is going on.
Here's the Feedback ID: FB7770398

This said, I wasn't able to find "WidgetKit" as a category option to report the issue.
After a bit more testing, I found that this issue only affects when running the Widgets Extension on the simulator. If you run it on a real device it works correctly.