Post

Replies

Boosts

Views

Activity

Reply to Combine not working in background tasks on watchOS 26
Well I tried both styles. The initial code was the swiftui .backgroundTask modifier which worked in iOS 18. I created a core data based logger to see where the hiccup was. I noticed data was indeed being read by the anchored queries from HealthKit. That data was then sent to a couple of published properties in observable objects which served as the start of the combine pipelines. In ios18 that led to updates that were critical for updating widgets. In iOS 26, the combine pipelines were not activated. So I switched back to the previous method of background tasks, ie wkapplication.scheduleBackgroundRefresh(...) That also did not allow any combine pipelines to happen. In the end, I had to rip out combine from the watch and use didSet and custom handler blocks. While that did work, obviously it's not as full featured (ie, you can't debounce). After using blocks, things went back to functioning properly. Thoughts?
Oct ’25
Reply to Watch app doesn't receive location updates on watchOS 10 beta
I am having the same issue with my app on 10.0.1. Open Water Swim. I only noticed it upon deleting and re-installing the app. If I perform clLocationManager.requestWhenInUseAuthorization() I get a big fat nothing. I will look into that crazy reset procedure and also file a bug report. This is the second bug relating to Core Location. There is also a serious degradation of GPS data (at least on the Ultra). I filed two bugs for this, one in beta FB12587468 and the newer one in release FB13192409. I would say Apple has really introduced some serious issues with core location on this release, and I would not be surprised if some folks end up losing jobs. Good riddance.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23
Reply to watchOS 10 update has ruined GPS on Ultra during open water swimming.
I am including three example data points that show there is an issue. These are locations that are mathematically impossible because the accuracies provided by the CoreLocation are less than the distances apart. These are CSV files each with two locations separated by a distance greater than the sum of provided accuracies. Typically one second apart (we allow 1 meter per second error) text-FC597A06C33E-1.txt text-4EAA0C645F55-1.txt text-F8A0F1CB22DE-1.txt
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’23