Post

Replies

Boosts

Views

Activity

watchOS Simulator Version 14.0.1 (986.3) not syncing HealthKit from iPhone to paired Apple Watch
I have a project that's been on the App Store for more than a year. I used to do ASC screenshots and debugging on Simulator with a few Watch Simulators (screen sizes) paired to one iPhone simulator sharing the same HealthKit example data and settings like units and regions / languages. Since updating to Xcode 14 I can't get the HealthKit related data and settings to sync between and iPhone Simulator and it's paired watch Simulators. Any idea what I am doing wrong now? I should note that my project is still using iOS App, WatchKit App and WatchKit Extension. I haven't yet switched to single-target WatchApp.
1
0
1.1k
Oct ’22
Neither getCurrentTimelineEntry nor getLocalizableSampleTemplate get called by Complication Controller
I have an iPhone with Watch Project, I was getting good results on my Complications but lately they don't want to update… When I build and run on my iPhone the new Watch build gets transferred to the paired watch and is running there fine. Almost: it refuses to update the Complications. After Watch restart I only get ----- My server correctly tells me that I have two active complications on the current watchFace and I am calling server.reloadTimeline(for:) on both of them but the getCurrentTimelineEntry function never gets executed by the server. Neither does the getLocalizableSampleTemplate When I remove the App from the Watch, restart the Watch and then put the App back on the Watch using the iPhone's Watch App -- then it works, but only about 3 minutes after starting the Watch App on the Watch. During these 3 minutes my app's complications are only --. I can't ship it like this… My hunch is that somewhere the complication controller crashes, but it doesn't take my app down with it and thus my complications don't work any more. All other apps' complications do update alright though. Now my question is: is that a bug in Xcode, in WatchOS, or in my code? Will this happen when I first deploy my app on the App Store or will it be an issue with updates via App Store? Is this only relevant for my "local" build? Any hints where to hunt this bug?
1
0
1.8k
Oct ’22
SF Symbol using string interpolation
I was very happy when I saw this: "You can embed a symbol inside a run of text by using string interpolation." Text("Thalia… \(Image(systemName: "chevron.forward"))") Unfortunately this is a feature of SwiftUI and not generally available string interpolation. In places where a string is expected like an Apple Watch Compilcation Text Provider CLKSimpleTextProvider(text: "\(Image(systemName: "heart"))") this doesn't return an inline Image but "Image(provider: SwiftUI.ImageProviderBox<SwiftUI.Image.(unknown context at $18487da20).NamedImageProvider>)" So… Is there a way to include an SF Symbol in a regular string to wiggle it into a CLKSimpleTextProvider?
2
0
3.1k
Dec ’21
App Icon missing in Apple Watch Series 7
App Icon is a black hole in Apple Watch Series 7, shows alright in Apple Watch Series 6. Both latest watchOS8. App was downloaded from App Store and the App Icon Page in Xcode looks quite nice. Also: no problem in simulator with Series7/watchOS8 What's going on? PS: the other black hole is a very popular app from the App Store. Not telling which…
2
0
1.2k
Oct ’21
watchOS Simulator Version 14.0.1 (986.3) not syncing HealthKit from iPhone to paired Apple Watch
I have a project that's been on the App Store for more than a year. I used to do ASC screenshots and debugging on Simulator with a few Watch Simulators (screen sizes) paired to one iPhone simulator sharing the same HealthKit example data and settings like units and regions / languages. Since updating to Xcode 14 I can't get the HealthKit related data and settings to sync between and iPhone Simulator and it's paired watch Simulators. Any idea what I am doing wrong now? I should note that my project is still using iOS App, WatchKit App and WatchKit Extension. I haven't yet switched to single-target WatchApp.
Replies
1
Boosts
0
Views
1.1k
Activity
Oct ’22
Neither getCurrentTimelineEntry nor getLocalizableSampleTemplate get called by Complication Controller
I have an iPhone with Watch Project, I was getting good results on my Complications but lately they don't want to update… When I build and run on my iPhone the new Watch build gets transferred to the paired watch and is running there fine. Almost: it refuses to update the Complications. After Watch restart I only get ----- My server correctly tells me that I have two active complications on the current watchFace and I am calling server.reloadTimeline(for:) on both of them but the getCurrentTimelineEntry function never gets executed by the server. Neither does the getLocalizableSampleTemplate When I remove the App from the Watch, restart the Watch and then put the App back on the Watch using the iPhone's Watch App -- then it works, but only about 3 minutes after starting the Watch App on the Watch. During these 3 minutes my app's complications are only --. I can't ship it like this… My hunch is that somewhere the complication controller crashes, but it doesn't take my app down with it and thus my complications don't work any more. All other apps' complications do update alright though. Now my question is: is that a bug in Xcode, in WatchOS, or in my code? Will this happen when I first deploy my app on the App Store or will it be an issue with updates via App Store? Is this only relevant for my "local" build? Any hints where to hunt this bug?
Replies
1
Boosts
0
Views
1.8k
Activity
Oct ’22
How do I check my app's "background app refresh budget"?
Is there a way to find out how much of the app's budget is used up already?
Replies
1
Boosts
0
Views
1.4k
Activity
Oct ’22
SF Symbol using string interpolation
I was very happy when I saw this: "You can embed a symbol inside a run of text by using string interpolation." Text("Thalia… \(Image(systemName: "chevron.forward"))") Unfortunately this is a feature of SwiftUI and not generally available string interpolation. In places where a string is expected like an Apple Watch Compilcation Text Provider CLKSimpleTextProvider(text: "\(Image(systemName: "heart"))") this doesn't return an inline Image but "Image(provider: SwiftUI.ImageProviderBox<SwiftUI.Image.(unknown context at $18487da20).NamedImageProvider>)" So… Is there a way to include an SF Symbol in a regular string to wiggle it into a CLKSimpleTextProvider?
Replies
2
Boosts
0
Views
3.1k
Activity
Dec ’21
App Icon missing in Apple Watch Series 7
App Icon is a black hole in Apple Watch Series 7, shows alright in Apple Watch Series 6. Both latest watchOS8. App was downloaded from App Store and the App Icon Page in Xcode looks quite nice. Also: no problem in simulator with Series7/watchOS8 What's going on? PS: the other black hole is a very popular app from the App Store. Not telling which…
Replies
2
Boosts
0
Views
1.2k
Activity
Oct ’21