Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Fitness app not now show saved routes

When I set the distanceFilter = 5 (5 meters) in the GPS CLLocationManager

I can't display the workout routes in the Apple Fitness app after writing the recorded GPS data to HealthKit via HKWorkoutRouteBuilder.

The smaller distanceFilter, Fitness will displays the route.

Should I consider setting up a small distanceFilter when developing a workout app on watchOS?

I don't think Fitness.app has any requirement on the location accuracy of a workout route. In case the data of the route sample is valid, the Fitness app should show the route.

If you see otherwise, consider gathering the route samples and confirming the data is valid. I ever saw the following cases:

  • The dates of the route samples are invalid, such as endDate not being later than startDate, and the dates not falling in the duration of the workout.

  • The distance between two samples is unreasonable.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

The fitness app seems to think that sometimes interval between two samples is unreasonable.

When the distance filter is set to 5, the time interval between GPS data points while walking can sometimes be quite large, which means that Apple Fitness will not display the training route information. However, when cycling, the speed is higher, resulting in smaller time intervals between two GPS data points, so Apple Fitness will display the training route information.

OK, that sound like an issue on the Fitness app then. Thanks for filing the FB17792319. I noticed that your report is mostly in Chinese. It will be even more helpful if you can add English translation so all the Fitness engineers can read. Thanks again.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Fitness app not now show saved routes
 
 
Q