Post

Replies

Boosts

Views

Activity

Workout not showing for import on Strava
I have a workout app which I am testing on device currently via TestFlight. The generated workout (tennis and indoor) shows in the fitness app with correct HR and duration. However, when I go to my Strava app, it does not show in the list of workouts for importing. (note, activities tracked using the regular tennis mode on the Apple Watch show fine) I have also concurrently reached out to Strava support to see if there's anything they can offer support for. However, does anybody here have any knowledge/experience of the requirement? Or whether this is a limitation of an application deployed via TestFlight? I have a terrible feeling I am chasing ghosts, and it may be a TestFlight limitation for exporting workouts? Thanks
1
0
162
1w
Change displayed metric in Fitness app
Good afternoon, I am working on a workout tracking app. So far everything is working as expected. However, I note that when my workout saves and is visible within the Fitness App, the workout duration is displayed rather than the kCal burned. What changes are required to be made in order for this to display the kCal in the list of workouts in Fitness rather than duration? For reference https://developer.apple.com/videos/play/wwdc2021/10009 this was my reference source for workout functionality.
1
0
167
1w
Invalid Info.plist key - HealthKit Standalone Watch App
Hello, I have finished testing my watchApp on my own device, and I am now trying to publish to use in TestFlight. I'm getting the below error when I try to upload. Invalid Info.plist key. The key 'NSHealthShareUsageDescription' in bundle Touch Ref Watch.app/Watch/Touch Ref Watch WatchKit App.app is invalid. With error code STATE_ERROR.VALIDATION_ERROR.90363 for id 1e3c5703-5141-4a51-b60f-5dcaeb0d8be6 I have the following keys in my Watchkit App Info.plist Privacy - Health Share Usage Description "Health data will not be shared or displayerd by this app" Privacy - Health Update Usage Description "Workouts tracked will be saved in the health App" I have the same keys in my WhatchKit Extension Info.plist also. I am using XCode 12.5 and have no issues with running this app on my own device.
1
0
2.9k
May ’21
WKExtendedRuntimeSession not starting
It's late and I'm hoping I'm doing something really stupid. I'm trying to keep my watch app running without user interaction for a total of 45 minutes (this is a referee timer for a niche sport). I'm trying to make use of WKExtendedRuntimeSession, after reading through the Apple documentation, and finding some samples online. It appeared people were finding this as simple as; var session = WKExtendedRuntimeSession() session.start() and session.invalidate() I am testing from buttons for now, but I get nothing from session.start() at all. The button with session.invalidate() gives me an error in the console that there isn't a session running. Where am I going wrong?
2
0
610
May ’21
bookdatastored crashes when closing simulator
M1 MacBook Pro Big Sur 11.3.1 Xcode 12.4 Developing for WatchOS I'm getting repeated crash reports in the console from bookdatastored. It seems to occur each time I quit out of the Simulator in Xcode, I don't notice any stability issues with my system or with the simulator or Xcode when this crashes. I'm just getting persistent crash reports from it. Process: bookdatastored [2190] Path: /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/BookDataStore.framework/Support/bookdatastored Identifier: bookdatastored Version: 312 Code Type: ARM-64 (Native) Parent Process: launchd_sim [2121] Responsible: SimulatorTrampoline [603] Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace LIBXPC, Code 0x4 Application Specific Information: CoreSimulator 732.18.6 - Device: Apple Watch Series 6 - 44mm (5A33F033-FE56-4E11-B9C3-C70D4925539D) - Runtime: watchOS 7.2 (18S561) - DeviceType: Apple Watch Series 6 - 44mm Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00000001a895b470 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001a895b814 mach_msg + 72 2 com.apple.CoreFoundation 0x00000001806970ec __CFRunLoopServiceMachPort + 376 3 com.apple.CoreFoundation 0x00000001806915f8 __CFRunLoopRun + 1152 4 com.apple.CoreFoundation 0x0000000180690c68 CFRunLoopRunSpecific + 572 5 com.apple.Foundation 0x00000001812573ac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228 6 com.apple.Foundation 0x00000001812575f4 -[NSRunLoop(NSRunLoop) run] + 88 7 bookdatastored 0x0000000100982604 main + 204 8 libdyld.dylib 0x00000001801ab86c start + 4 Does anybody have any ideas of the cause of this and how to resolve?
1
0
564
May ’21