Posts

Post not yet marked as solved
0 Replies
487 Views
Hello, I am trying to add a Siri Intent that adds a sample to HealthKit. This works without issue on the iPhone. The intent works fine on Apple Watch when handled by the phone. However, if I add a Watch Intents extension the code fails, due to the Watch Intents Extension not having the com.apple.developer.healthkit entitlement. In Xcode, I am unable to add HealthKit entitlement to the Watch Intent extension (even though I can add it to iOS Intent Extension). I have tried adding the entitlement manually and enabled it in the provisioning profile, but the watch refuses to handle the intent when enabled. Can anyone advise me whether or not it's actually possible to add the HealthKit entitlement to a Watch Intents Extension? Or, if it's possible to handle the Intent directly on the watch, outside of an Intents Extension (as the watch extension already has the healthkit entitlement). Any suggestions would be appreciated.
Posted Last updated
.