Post

Replies

Boosts

Views

Activity

Reply to Is there any way to expose an AppIntent that lives in the app package or an AppIntentExtension to a widget?
I found a better solution for interaction Live Activity. You can create a struct impletion LiveActivityIntent then add it to widget target and app target. Create two files, one add to widget target, other one add to app target, each extension your Intent and write one same function. Widget target function can empty, app target function is real code. In perform call your function in extensions file. Above steps make sure compile success and when interaction intent, System will execute your real code in App Process.
Topic: App & System Services SubTopic: General Tags:
Aug ’23
Reply to HKObserverQuery not working in background
@DTS Engineer Hi, I'm having an issue with HealthKit background delivery on watchOS 11.3.1, I'm using HKObserverQuery and I'm experiencing CSLHandleBackgroundHealthKitQueryAction watchdog transgression crash. I confirm that I have called HKObserverQueryCompletionHandler correctly and in time. Is there any special requirement for the code to call HKObserverQueryCompletionHandler? For example, does it have to be in the main thread?
Mar ’25
Reply to WatchOS HealthKit HKObserverQuery crashes in background
I have the same problem, I am monitoring HRV data using HKOberserQuery + enableBackgroundDelivery with HKUpdateFrequency.hourly . in HKOberserQuery i only gets the latest one HRV sample. I make sure HKObserverQueryCompletionHandler is called correctly, but I see a lot of CSLHandleBackgroundHealthKitQueryAction crash log on the watch logs, and I'm seeing the same logs on other apps too!
Apr ’25
Reply to watchOS 26 Control Widget AppEnum not Localized
@DTS Engineer Thank you for your reply. What I mean is that if I only add SharedTypes.swift to the widget target and remove it from the watchOS target, AppEnum will correctly display internationalized text. However, I cannot use this workaround because while the project would compile normally, clicking the control widget would fail to navigate correctly to the watchOS app since the main target lacks the corresponding code. Additionally, the iPhone Watch App functions correctly. When configuring watch faces in the Watch App, AppEnum displays internationalized text properly. This issue only occurs on the Apple Watch physic devices.
Nov ’25
Reply to Is there any way to expose an AppIntent that lives in the app package or an AppIntentExtension to a widget?
I found a better solution for interaction Live Activity. You can create a struct impletion LiveActivityIntent then add it to widget target and app target. Create two files, one add to widget target, other one add to app target, each extension your Intent and write one same function. Widget target function can empty, app target function is real code. In perform call your function in extensions file. Above steps make sure compile success and when interaction intent, System will execute your real code in App Process.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Is there any way to expose an AppIntent that lives in the app package or an AppIntentExtension to a widget?
@fehners My solution works with LiveActivityIntent because it will perform in app process. one more thing, intent struct must be marked public, else in release mode(debug mode is well), system cannot find your intent.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS app fails to run with Xcode 16, no issue with Xcode 15 (no build errors)
@sebj Try set 「Enable Debug Dylib Support」 to NO
Replies
Boosts
Views
Activity
Sep ’24
Reply to What is ChronoKit.InteractiveWidgetActionRunner.Errors Code 1?
@Mr. Jefferson I solved the problem. because your Intent openAppWhenRun = true, so the intent must be included in both the main target and the widget target
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to ControlWidget can't open APP
@PhonJac your LaunchAppIntent must included in main target
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to HKObserverQuery not working in background
@DTS Engineer Hi, I'm having an issue with HealthKit background delivery on watchOS 11.3.1, I'm using HKObserverQuery and I'm experiencing CSLHandleBackgroundHealthKitQueryAction watchdog transgression crash. I confirm that I have called HKObserverQueryCompletionHandler correctly and in time. Is there any special requirement for the code to call HKObserverQueryCompletionHandler? For example, does it have to be in the main thread?
Replies
Boosts
Views
Activity
Mar ’25
Reply to Has HealthKit Changed GPS Standards in iOS 18.4 Beta 4?
@DTS Engineer I have created a Feedback FB17024450 report and included more details about the environment along with additional video recordings. Hope this helps.
Replies
Boosts
Views
Activity
Mar ’25
Reply to WatchOS HealthKit HKObserverQuery crashes in background
I have the same problem, I am monitoring HRV data using HKOberserQuery + enableBackgroundDelivery with HKUpdateFrequency.hourly . in HKOberserQuery i only gets the latest one HRV sample. I make sure HKObserverQueryCompletionHandler is called correctly, but I see a lot of CSLHandleBackgroundHealthKitQueryAction crash log on the watch logs, and I'm seeing the same logs on other apps too!
Replies
Boosts
Views
Activity
Apr ’25
Reply to Fitness app not now show saved routes
@DTS Engineer hi, Ziqiao I have a similar issue FB17024450, but there has been no progress. Could you take a look at it as well?
Replies
Boosts
Views
Activity
Jun ’25
Reply to AVSpeechSynthesizer read Mandarin as Cantonese(iOS 26 beta 3))
It seems that this issue has been fixed in the new beta version. @haozes
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to App group not working between iOS and watchOS
App Group is device level, iPhone and Apple Watch are two devices. You can consider WCSession.
Replies
Boosts
Views
Activity
Sep ’25
Reply to iOS 26 App Status not change after submission completed
resolved
Replies
Boosts
Views
Activity
Sep ’25
Reply to watchOS 26.0.2 / iOS 26.0.1 + Workout Session Mirroring Failure
@bernyz Hello,any update for this issue?
Replies
Boosts
Views
Activity
Oct ’25
Reply to watchOS 26.0.2 / iOS 26.0.1 + Workout Session Mirroring Failure
@andrewfromCanada @bernyz It seems that restarting the iPhone can temporarily fix the issue, but it may come back after a while. A permanent solution hasn’t been found yet.
Replies
Boosts
Views
Activity
Nov ’25
Reply to watchOS 26 Control Widget AppEnum not Localized
@DTS Engineer Thank you for your reply. What I mean is that if I only add SharedTypes.swift to the widget target and remove it from the watchOS target, AppEnum will correctly display internationalized text. However, I cannot use this workaround because while the project would compile normally, clicking the control widget would fail to navigate correctly to the watchOS app since the main target lacks the corresponding code. Additionally, the iPhone Watch App functions correctly. When configuring watch faces in the Watch App, AppEnum displays internationalized text properly. This issue only occurs on the Apple Watch physic devices.
Replies
Boosts
Views
Activity
Nov ’25