WorkoutKit State Error

I tried the sample code from 'Customizing workouts with WorkoutKit' all works fine on the simulator, however, I have the following error when testing on device (iPhone SE):

Error Domain=WorkoutKit.StateError Code=0 "(null)"

On launch, this is associated with 'failed to retrieve scheduled plans'. Also the same when requesting authorization.

Any ideas on this one?

Replies

I`m having the same error. Did someone figure out how to resolve this issue?