When I insert route data into HKWorkoutRouteBuilder I get the following error:
The connection to service named com.apple.healthd.server was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid
Here's a code snippet.
workoutRouteBuilder.insertRouteData(filteredLocations) { (success, error) in
if !success {
print("inserting route data failed with error: \(String(describing: error))")
}
}
I patterned by impelementation from the Speed Sloth example.
Any insights would be appreciated!