I'm getting this errorBackgroundWorkoutSessionNotAllowed
when calling session.prepare()
on watchOS 10 Beta Simulator
The apple's doc doesn't have any information about this error https://developer.apple.com/documentation/healthkit/hkerror/4291533-errorbackgroundworkoutsessionnot
The code works perfectly on the device.