In case anyone else who comes across this feels frustrated that you have to choose the widget's kind because it sounds like you'll have to change that value by hand whenever you want to switch widgets...
You can duplicate the Scheme, name each one after the widget you want to test with it, and set the Kind value separately for each. This way all you have to do is change your Scheme before you hit run, rather than editing it each time.
Also, since it's not super clear: the _XCWidgetKind variable is set in the Run settings of the scheme > Arguments tab > WidgetKit Environment section > Kind value. (Maybe it spelled out the variable name in past versions of Xcode 🤷🏻♂️ I'm not sure)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: