I have an test app now using Apple's WWDC Watch Workout app sample code if anyone is interested.
Post
Replies
Boosts
Views
Activity
Same issue. I filed feedback: FB11781760. Anyone have a workaround?
Did you resolve your issue? I had the same problem and can provide some guidance. Before saving the route I first check UIApplication.shared.isProtectedDataAvailable to see if HealthKit is locked. If it locked, then I basically postpone adding the route to the workout until the user unlocks the phone. I give the user a voice alert to open the app so the route can be saved. This is a big hack and I wish Apple would provide a better solution to saving workouts and routes when the phone is locked.
Any updates on this? I also have a workout app and I don't see my Live Activity being updated in the background. I try to update once a second, but also tried slowing it down to once every 10 seconds.
I also also seeing similar issues. Should we not be calling authorizationStatus on the main thread?
I am wondering the same.
I'm having the same issue. Works for others, but no me. Did you figure it out yet?
I just submitted a feedback for this and encourage others to do the same. Neither of my apps that use HealthKit can upload and it's been almost a week now.
I'm surprised Apple hasn't addressed this yet. Does anyone have an open ticket with them?
Same problem. I did get a build to upload if I hand deleted "com.apple.developer.healthkit.access", but I'm concerned about releasing that build if cause that had unintended consequences. Hopefully Apples fixes this issue soon.
Answering my one question in case it helps someone. All the SF Symbols were referenced in Storyboards and were using a rendering mode as Automatic. Changing to Template seems to fix the issue. I'm not sure why this broke in iOS 13 when I moved to Xcode 12. BTW, the original message had a type x.mark.circle -> xmark.circle.
Mine is fixed now after sending in a support ticket.
Same problem with my app that was released last night (11/11).
Any resolution? I'm getting this when building with Xcode 12.0.1.
These are the settings I use to for workout route maps:
lazy var locationManager: CLLocationManager = {
let _locationManager = CLLocationManager()
_locationManager.desiredAccuracy = kCLLocationAccuracyBest
_locationManager.activityType = .fitness
_locationManager.allowsBackgroundLocationUpdates = true
_locationManager.distanceFilter = kCLDistanceFilterNone
return _locationManager
}()