I'm not able to build and run on watchOS.
I see this error:
The device “Apple Watch” is not available because there was an error downloading its symbols. Please see the underlying error message for more information.
I believe this is the "underlying error"
Apple Watch via iPhone: Failed with HTTP status 403: forbidden
Domain: DVTACSURLSessionDelegate
Code: 1
User Info: {
DVTDeviceErrorIsProxied = 1;
DVTErrorCreationDateKey = "2022-10-17 13:02:51 +0000";
}
--
System Information
macOS Version 12.6 (Build 21G115)
Xcode 14.1 (21527.1) (Build 14B5033e)
Timestamp: 2022-10-17T14:02:51+01:00
✅ dev mode enabled on watch
✅ dev mode enabled on phone
✅ watch rebooted
✅ phone rebooted
✅ Mac rebooted
✅ FB filed: FB11697786
❌ Able to progress Apple Watch app
Post
Replies
Boosts
Views
Activity
In development I've switched to NSPersistentCloudKitContainer and have begun the terrifying process of trying to test as many scenarios as possible to make sure nobody loses any data.
During some testing I saw an error like this:
<CKError 0x28033a310: "Partial Failure" (2/1011); "Failed to modify some records"; uuid = B6015357-50E0-40B3-949F-1557F59A23DB; container ID = "iCloud.com.xxxx.yyyyyy"; partial errors: {
F023EFDF-B9DE-4C17-872B-01C34C0DF129:(com.apple.coredata.cloudkit.zone:defaultOwner) = <CKError 0x280266fa0: "Invalid Arguments" (12/2006); server message = "Cannot create or modify field 'CDsomeField' in record 'CDsomeRecord' in production schema"; uuid = B6015357-50E0-40B3-949F-1557F59A23DB>
... 399 "Batch Request Failed" CKError's omited ...
}>
I was able to fix this, but it was only affecting some scenarios and if this had happened to a real user they (and I) would never have known about the problem, and their data would not have synced to CloudKit.
If the store fails to load you get an error, but if it loads but doesn't sync you don't.
So my question is: is there a way to receive these kind of errors in code?
I have looked for notifications and delegate methods and I can't find any.
I am using `HKLiveWorkoutBuilder` & `HKWorkoutRouteBuilder` to track a workout on Apple Watch.when calling:[workoutBuilder finishWorkoutWithCompletion:^(HKWorkout * _Nullable workout, NSError * _Nullable error) {
}];The returned workout object does not include the distance that the user travelled:(lldb) po workout.totalDistance
nilHowever the route is saved correctly.Given that `.totalDistance` is read only, how should I set the distance of the workout in watchOS 5?https://www.dropbox.com/s/yml1npdlh0jcow8/9LgSA.jpg?dl=0https://www.dropbox.com/s/r7t03xqswkwqj6z/xnTG0.jpg?dl=0
I'm excited to implement `handleActiveWorkoutRecovery` as we have a lot of users who complain of lost data.I have a couple of questions though:1) How can I test this method and check we are restoring everything correctly?2) Is it possible to restore the route builder?Thanks in advanceLewis
In the past few months I get about one person a week who contacts me and tells me that they made an IAP and the money was taken, but they didn't get the functionality. When they do retore it says there is no record of purchase.They send me a screenshot of their recipt. Of course they could fake this, but I am inclined to give the benefit of the doubt.One thing I have noticed is that it is always a PayPal reciept that is sent.Has anyone else noticed anything like this?