Post

Replies

Boosts

Views

Activity

Reply to Watch app doesn't receive location updates on watchOS 10 beta
@rsebbe @jclardy Good news everyone! It seems that if you install iOS 17 RC on device that never had pervious iOS 17 beta locations are received on the watch as expected! If you install on the watch simulator which you have not used with previous betas locations works there too. So I assume it should work in production as only minority of users would install your app on the beta iOS.
Sep ’23
Reply to cyclingSpeed is 0
Also i wonder if i can get the GPS values like altimeter or location from the HKWorkoutSession? To gather these data you need CLLocation manager running along workout. When HKWorkoutSession is finished you create HKWorkout from it. And you could also create HKRoute from gathered locations (including altitudes) and associate it with HKWorkout https://developer.apple.com/documentation/healthkit/workouts_and_activity_rings/creating_a_workout_route
Sep ’23
Reply to Location after reinstallation on watchOS 10
I have the same problem since watchOS beta 7 When I debug code running on the watch I see that permissions are granted but CLLocationManager delivers no locations. Instead func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) is called with message Error Domain=kCLErrorDomain Code=1 "(null)" - The operation couldn’t be completed. (kCLErrorDomain error 1.) BMLocationManager.swift locationManager(_:didFailWithError:) What doesn't help so far: Switching locations permissions off and on again Restarting the watch and phone Unpairing and pairing the watch Switching to Ask next time state (permissions dialog appeared on the phone but didn't help the watch)
Aug ’23
Reply to watchOS 9: ClockKit-based complications occasionally failed to display
Maybe it's a different issue but form me migration of ClockKit complications to WidgetKit ones doesn't work. I can see that when I install new version of the app with WidgetKit complications none of the methods from ComplicationController are called, including func getWidgetConfiguration(from complicationDescriptor: CLKComplicationDescriptor,                completionHandler: @escaping (CLKComplicationWidgetMigrationConfiguration?) -> Void) which is necessary for migration.
Sep ’22
Reply to Not working Lock Screen on iOS 16 simulator
This guy has figured out how to fix the issue: https://blog.nihongo-app.com/stop-xcode-14-beta-from-pegging-cpu/ TL;DR: copy wallpaper from iOS 15.5 simulator to iOS 16.0 one. mv /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Library/Wallpaper /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Library/Wallpaper-original && cp -r /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 15.5.simruntime/Contents/Resources/RuntimeRoot/Library/Wallpaper /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Library
Aug ’22