No swimming distances on watchOS 10

For some reason I am not receiving HKQuantityTypeIdentifierDistanceSwimming samples when using the watchOS 10 beta (8). The same code works fine on watchOS 9 but not on watchOS 10.

I have tried specifically enabling them in the collection types for the live builder and /or starting a query for them, but neither approach is causing any samples to be returned to the app.

Is this a known issue? Has something changed for swimming in watchOS 10?

Thanks in advance.

Replies

I'm not sure if you are using it for open water swimming, but it may be related to an issue that I have described in detail here: https://developer.apple.com/forums/thread/737819

Thanks. I suspect they are different problems because I don't get distance samples for pool swims either, where GPS is not involved.

However I have only seen two outdoor swim workouts with watchOS 10, but the GPS trace for both of them was awful. Much worse than I have seen in the past. It's a very small sample and probably too early for me to tell, but I am probably seeing the same GPS issues as you when swimming outdoors with watchOS 10.

Hi, we are seeing the same issue with our app after updating to watchOS10. The distance samples come in with 0 until the end of the workout, and then all the distance comes in a single distance event. Were you able to resolve this?

  • Unfortunately not. As a workaround I am using GPS (outdoors) or laps and pool length (indoors) to determine the distance. Unfortunately this means that the distance shown in the app is often different to that eventually shown in Apple's apps.

Add a Comment

Please test watchOS 10.1 beta 3. We fixed a bug related to swimming distance collection during a workout. Let us know (via Feedback at https://feedback.apple.com) if you're still seeing an issue.

  • That's great to hear! Thanks for that. I will let you know if there are still problems.

Add a Comment