@lorihc Hi! Is there any documentation on how to correctly setup a multidevice workout app?

I've been trying the example code but it says that the session delegate is not setup even thought it seems that everything is done.

Thanks for your help 🤗

developer.apple.com/documentat

Follow

@asiergmorato If you’re using the sample code as written and getting that error in the latest beta, either there was an intentional change (I haven’t been focused on this area, so I’m not sure), or there’s a bug. Can you file Feedback & post the number so I can get it to the right folks to check? Thx!

@lorihc @asiergmorato Hey Asier - the sample code is out of date. You'll want to (at least) change the delegate function in `WorkoutManager` from `_ workoutSession:didReceiveDataFromRemoteDevice:` to `_ workoutSession:didReceiveDataFromRemoteWorkoutSession:`. I'll follow up on the sample code update.

@dankeen @lorihc I think there may be a bug with Core Location on watchOS as I cannot request always permission if the watch has a paired/nearby device

FB12924308

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.