For those still struggling with this - make sure that your widget code has target membership for your widget extension AND your iOS app. This is required otherwise the background audio capability doesn't work. What's frustrating is it works on the simulator even if the iOS app isn't included in the target membership. If you run on a real device you'll get the error. Make sure you include both targets!!
Post
Replies
Boosts
Views
Activity
Version 14.3.1 (14E300c) still has the issue.
I am in the same position as you and have an annoyed user. In my case, I upgraded to watchOS 9.0 to support SwiftUI widgets. Did you have any solution?
Thanks!
I have a similar issue, but haven't been able to find any solution for it. :(
Same here. I am just trying to run the sample code as provided by apple Implementing a store in your app using the StoreKit API
It crashes on the simulator but works fine on a real device. Here is the exact error I get:
MacOS 13.0 (22A380) - Xcode Version 14.0.1 (14A400) - iOS 16.0 Simulator.
Hi! I am interested about this as well... Were you able to add a screenshot of your widget?
Thanks!
I am having issues with static complications. Everything works perfectly except when the user is in the "watch face selection" screen. On this screen, the preview doesn't show at all.
The preview shows correctly when editing the watch face (style, colors, complications, etc.), just not on the watch face section screen. Confirmed on simulator and physical device.
Anyone else in this boat? This behavior is easily reproducible by creating a new WatchOS WidgetKit target and running the app with no code modifications...
Thank you!