Shortcuts/Apple Health - Log Swimming Workout through Shortcuts shows as Total Walking + Running Distance instead of Swimming Distance

I was trying to add a bulk of swimming data from a third party app (HUAWEI Health) into Apple Health (compatible in every other way except for swimming for some reason...). So I tried to do it using shortcuts (with which I am somewhat adept) and using the action "Log (Swimming) Workout". I added a simple text with a line of data for testing, and it worked, the data were added.



When I checked the "Swimming Distance" in Apple Health though, nothing was added so I checked the data passed again and I saw that it says "Total Walking + Running Distance" to the distance I had swam. I manually added the next data line through the Apple Health workout section, and that shows "Swimming Distance" instead just fine and shows up perfectly in the respective section, "Swimming Distance".



iPhone 12 Pro, iOS 17

Posted on Apr 27, 2024 9:57 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 27, 2024 10:56 AM

My guess is that Shortcuts doesn’t have access to that data. When going to Settings > Privacy & Security > Health > Shortcuts, one can see that very few fields can be “written” to Health, swimming distance not being one of them:



You could let Apple know of this issue: https://www.apple.com/feedback/.

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Shortcuts/Apple Health - Log Swimming Workout through Shortcuts shows as Total Walking + Running Distance instead of Swimming Distance

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.