Removing a widget from project

Hi,
Is there anyway to remove (delete) a widget from a project? We would like to do so, so we can release an app without a widget until the GM version comes out.

Thanks,
Dan Uff
If you set the supportedFamilies modifier on the WidgetConfiguration to [] then the widget no longer shows in the widget gallery. That might be an option.

e.g.

Code Block swift
public var body: some WidgetConfiguration {
    StaticConfiguration(
      kind: kind,
      provider: Provider()
    ) { entry in
      widget_mainEntryView(entry: entry)
    }
    .configurationDisplayName("Foo")
    .description("Foo")
    .supportedFamilies([])
  }


Thank you.
Removing a widget from project
 
 
Q