How to add/test my widget in Notification Center in macOS Big Sur?

I'm running the latest macOS Big Sur beta 9, and I have an AppKit app and added a widget extension using Xcode 12.2 beta 2. I can run my widget using WidgetKit Simulator and it's working great.

However, when I click the date/time on the menu bar to show the Notification Center and click the "Edit Widgets" at the bottom, I don't have my app listed in the list of apps. I tried copying my app's executable and put it in the "Application" folder, but the app still does not show up.

So how can I add/test my widget in Notification Center?

Thank you.

Replies

I do not have a solution, but can confirm having the same problem here with 11b9 / Xcode 12b2.
You may need to increase the release number.
I don't know what I did, but somehow my widgets started to show up when I click the "Edit Widgets" button. I didn't have to put my app in the "Application" folder, I didn't create any release build (just the debug one), I didn't update OS/Xcode, etc.

I may have increased the version/build number, or maybe restarting the OS did the trick.