Thanks for the workaround. I did a symbolic link instead of a copy in order to always get the correct version of the application. For this, open a terminal in the directory where Debug-watchsimulator is located and type the command ln -s Debug-watchsimulator Debug-watchos.
Post
Replies
Boosts
Views
Activity
Comment moved below to have inline images.
Thank you for your answer. I've updated my code to get the HKWorkoutRouteBuilder from the HKWorkoutBuilder directly as I though It would auto-magically link the workout with the route but I'm still not able to correctly save the workout. I've open a new question with this specific issue : https://developer.apple.com/forums/thread/695845
Thank you for your answer. What is bothering me is that the watch application can receive this information but not the iPhone counterpart application which both belong to the same application (I understand the phone lock issue). I will circumvent this limitation by sending the heart rate information from the watch to the phone as it appears to be the only possible solution for me to get the heart rate data on the phone where the workout saving process occurs. Feel free to contact me by private message if you want to understand my specific use-case.