Invalid Family in WidgetKit.getCurrentConfigurations

I tried adding small, medium widgets, and i see the family as invalid in the getCurrentConfigurations response. Can someone help me understand how i can get the family to be populated here.

Code Block
[0] WidgetInfo
configuration INIntent? nil none
family WidgetFamily <invalid> (0x0)
kind String "SomeWidget"
[1] WidgetInfo
configuration INIntent? nil none
family WidgetFamily <invalid> (0x1)
kind String "SomeWidget"

Invalid Family in WidgetKit.getCurrentConfigurations
 
 
Q