In my case I changed the Run scheme settings such that WidgetKitEnvironment Family was set to systemSmall (my widget size), then restarted the simulator, killed it and let the app rebuild again.
WidgetKitEnvironment
Family
systemSmall