Post

Replies

Boosts

Views

Activity

Reply to Xcode 12 is slow when launching apps (even sample projects)
Same issue here. Deleting the contents of ~/Library/Developer/Xcode/iOS DeviceSupport (also logs and caches) didn't solve the problem for me. With this configuration: Big Sur 11.3 Xcode 14.5 Simulator 14.5 my app start takes more than 30 seconds when running from xcode. Normal start of installed app takes 2 seconds. Xcode says "launching app", "attaching to app", and then "running app", at the running app stage I get a ~30 second pause. debugserver at 100% activity at that time. Unticking "Debug executable" makes start instantaneous but makes debugging impossible, it's not a solution. On the real device (running iOS 14.4) start with attached debugger takes around 6 seconds.
Apr ’21
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
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 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 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 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