Posts

Post not yet marked as solved
3 Replies
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.
Post not yet marked as solved
5 Replies
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.
Post not yet marked as solved
2 Replies
I also also seeing similar issues. Should we not be calling authorizationStatus on the main thread?
Post not yet marked as solved
3 Replies
I am wondering the same.
Post marked as solved
95 Replies
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.
Post marked as solved
95 Replies
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.
Post not yet marked as solved
1 Replies
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.
Post not yet marked as solved
10 Replies
Mine is fixed now after sending in a support ticket.
Post not yet marked as solved
10 Replies
Same problem with my app that was released last night (11/11).
Post not yet marked as solved
19 Replies
Any resolution? I'm getting this when building with Xcode 12.0.1.
Post not yet marked as solved
1 Replies
I believe the metrics that are enabled automatically depend on the activity type and location. At least that is the case for distance. I'm not sure what the HR issue is, assuming this is a watch workout. But maybe it's an apple health permission issue. Also, check if Power Saving mode is on. That limits heart rate monitoring. Open the watch app on your phone, tap on General and see if Workout Power Saving Mode is turned on. If so, turn it off.
Post not yet marked as solved
1 Replies
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     }()
Post not yet marked as solved
2 Replies
I'm having a similar issue. Any resolution?