Post

Replies

Boosts

Views

Activity

Workout Effort Scores
Is there anywhere that describes in detail how third party workout apps can use the new effort score functionality? I can't see much in the documentation or any of the WWDC videos. In particular it would be useful to know if an effort score is automatically calculated for workouts created with third party apps? It doesn't seem to happen but some people say it takes weeks / months before watchOS starts calculating it for third party apps. If it doesn't happen automatically then how can the app set it? I tried the new relateWorkoutEffortSample API but that didn't work for me (see https://developer.apple.com/forums/thread/763539). If I could get it working then how should I determine a default effort score based on the workout metrics? Is that something that the app should do? If so then it would be good to be consistent with watchOS so some idea of how that is calculating effort scores would be useful. Sorry for all the questions, especially if there is an article in the documentation or a video that I have missed.
4
0
666
Sep ’24
XCode not supporting Apple Watch Series 10 models
I am probably being stupid but I can't find a way to code for the new 42mm/46mm series 10 watches. I have downloaded the XCode RC and from what I remember from previous years with new screen sizes (Ultra, Series 7, Series 4 etc) that usually supports the new watches after they have been announced. However I can't see them in the simulator or as options in storyboards. Do I need to download something else, or do I have to wait for a new version of XCode? Adjusting my app for new screen sizes is always time consuming and the new watches will be released in 10 days so I was hoping to make a start on it now.
2
0
361
Sep ’24
No swimming distances on watchOS 10
For some reason I am not receiving HKQuantityTypeIdentifierDistanceSwimming samples when using the watchOS 10 beta (8). The same code works fine on watchOS 9 but not on watchOS 10. I have tried specifically enabling them in the collection types for the live builder and /or starting a query for them, but neither approach is causing any samples to be returned to the app. Is this a known issue? Has something changed for swimming in watchOS 10? Thanks in advance.
4
0
1.3k
Sep ’23
How can users download an old version of a watch app?
I have just released a new version of my watch app, which requires watchOS 8 and is therefore not usable by series 2 and older watches. Is there any way that users with those watches can get the previous version of the app? The new version of the iOS app runs on their phones but the watchOS app will not run on their watches, so they need to use the old version of both. Thanks in advance.
3
0
1.9k
Sep ’23
How to make SceneView in TimelineView use Always on Display
I am rewriting my watch app in SwiftUI in order to make the app work with the always on display. I have got it working well for text and images, which update even when the watch is lowered and the display is faded. However I also use a SceneView and this does not update whilst the watch is lowered. Is it possible to update the SceneView when the watch is lowered? And if so then how would I do this? Is there somewhere I can access the date/time from within the SceneView, which may cause it to update? Thanks.
0
0
804
Jan ’23
Ultra Action Button stops working after watch reboot
My app handles the action button on the Ultra button. It all seems to work well until the user reboots the watch, after which it will not work. The only way to get it working again is by reinstalling the watch app. I can’t reproduce this with a simple test app written in Swift whereas my app is mainly Objective C with just a few Swift files to handle the action button (because the App Intents framework is limited to just Swift). Has anyone else experienced this and found a workaround?
2
0
2.0k
Nov ’22
Getting Heart Rate Lock outside of a Workout
How can I get the watch to lock onto the heart rate before starting a workout, in the same way that precision start works on the Ultra? In the past it required a special permission and I requested this several times without hearing back. I assume this was because the permission was intended for other app types (meditation etc). However now that precision start is available in the native app it would be great to provide it in my workout app. I looked around for the permission form again but couldn't find it so I was wondering if anyone knows how to do this? Thanks.
0
0
992
Oct ’22
How to download an old version of an Apple Watch app?
I recently released a new version of my app, which requires watchOS 5. This prevents AW0 users from using it, but they can still use the previous version. How can they download the previous version? With iPhone apps older versions are offered automatically because the App Store checks the iOS version against that required. However if iOS is capable of running the iPhone app then I am not sure how they can ask to download an older version of the app so that it will run on the older version of watchOS. Does anyone know a way to do this?
1
0
2.4k
Aug ’20
Watch App not updating when iPhone app updated
I have just released a new version of my iOS/watchOS app and users are reporting that the iOS app is updated but the watchOS app has not been updated.It used to be that updating the iOS app automatically resulted in the watchOS app being installed. Has this changed with iOS13 / watchOS 6? Maybe as part of the independent watch app changes?Does anyone know of a way to force the watch app to update, so that I can suggest it to users? And is there some setting I now need to add to the project to make it update automatically? Thanks.
2
1
1.9k
Nov ’19
App unable to import files in iOS13
My app has the ability to import GPX route files. However I am getting reports from users of iOS13 that the app is no longer appearing in the list of available apps when they try to export a GPX file. Has anyone else seen or heard of this, and does anyone know how I might get around it? As far as I know it is only the Imported UTIs that affect this - is iOS 13 more fussy about how they are specified?
95
0
40k
Jun ’19
Poor GPS accuracy on iOS 11 / iPhone X
I have noticed over the few months that the accuracy of the GPS in the iPhone has got significantly worse, both in terms of the horizontal accuracy reported by Core Location and the trails that I plot on maps. My app is a workout and mapping app for Apple Watch and it used to be that the accuracy was better when using the iPhone GPS, but now the Watch GPS is better. I am not sure if this is due to my iPhone X or to iOS 11, but I suspect the latter given the time period. My companion iPhone app allows the trail to be plotted on a map and graphed according to several values, including GPS accuracy, so it is ideal for highlighting the GPS performance. The results from the Watch GPS are similar to before, but those from the iPhone GPS are dramatically worse at times. In ideal conditions it is fine, but in less than ideal conditions it now struggles much more than before.Is anyone else having the same issues, and if so do they know a workaround? Apple know about the problems because there are mutiple threads about it on their user forums, such as this one:https://discussions.apple.com/thread/8112686Also, is there any way to force the app to use the Watch GPS even if the iPhone is present and connected? This was never necessary before, but now that the iPhone GPS is unreliable (and unusable at times) I am getting more and more requests from users to provide it.
10
0
19k
Dec ’17