Post

Replies

Boosts

Views

Activity

Can a 3rd party app use WorkoutKit to store interval details?
I am the developer of a workout app that allows users to create interval programs (e.g. Warm Up, Fast, Cool Down). It is possible for me to store the data for the intervals along with the workout in the Health system by using WorkoutKit (or any other method)? My aim is to make it so that the Fitness app shows the interval details when users view workouts created by my app. Thanks in advance.
1
1
71
4w
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
2.1k
Oct ’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
822
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.5k
Oct ’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
2.6k
Sep ’23
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.6k
Jan ’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
907
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.3k
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
1.1k
Nov ’22
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
43k
Sep ’21