Thank you!! This worked!
Post
Replies
Boosts
Views
Activity
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.
It worked like a charm! Thank you!
Thanks, but what about the case in my example, where we need to create this view multiple times in a ForEach statement?
It works like a charm! Thank you!
This problem is solved in Xcode 14 Beta 4/macOS Ventura beta 4.
Apparently this was my mistake. I was calling WKApplication.shared().scheduleBackgroundRefresh() in MainViewModel.init(), but if I call it in applicationDidBecomeActive(), everything seems to be working!