WidgetKit crash

This is a general question-
When a WidgetKit extension crashes is it ever restarted? When my widgets crash they do not refresh until the device is rebooted.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include sample project and sysdiagnose, and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

More importantly, are you able to narrow down why they are crashing?

The best first course of action when deep debugging Widgets would be to use Console.app to monitor to the relevant processes related to your app and extensions.

A good way to start would be with filtering by the BundleID of the target and / or the target name itself (the process name).

Also be sure to check the system processes for additional information. This will vary based on what and where you are looking but some examples:
To debug APNS you'll want to monitor apnd along with other relevant processes.
To debug WidgetKit, LiveActivities, Dynamic Island you'll want to monitor springboardd, liveactivitiesd along with other relevant processes.

Rico
WWDR - DTS - Software Engineer

WidgetKit crash
 
 
Q