@lorihc hey 👋 I’m struggling with an error on watchOS 10 simulator and HealthKit and didn’t find anything on the Apple docs.

I’m receiving a `errorbackgroundworkoutsessionnotallowed` when I try a `session.prepare()`. It’s only happens on simulator and works fine on device

I don’t have any context on the docs developer.apple.com/documentat

@fsousa Hi Fernando! Can you please file Feedback and post the number here? We might have broken something recently. (The error means you can’t start a workout from the background; is that what you’re trying to do, or is it a straightforward Start Workout button tap in the foreground that’s hitting this error in the sim?)

@lorihc Thanks for the reply. Here's the feedback FB13159552.
You were my last option since it’s broken only on the watchOS 10 Simulator. It's working on the watchOS 9 Simulator. It works on both devices.

Follow

@fsousa Yes, I have a theory; just need to get the feedback to the right folks. Thanks for filing.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.