Reputation: 23
I'm working on a watchOS 3 health app, but neither the simulator nor my actual apple watch devices are recognizing the entitlements file that is present in my extensions folder this is making me get this error :
workout session did fail with error: Error Domain=com.apple.healthkit Code=4 "Missing com.apple.developer.healthkit entitlement." UserInfo={NSLocalizedDescription=Missing com.apple.developer.healthkit entitlement.}
what do I need to do in order to correct this?
PLEASE NOTE: I have already turned the healthkit button on in the capabilities tab.
Upvotes: 0
Views: 237
Reputation: 23
I found out I wasn't enabling it on watch under the capabilities for the watch specifically. I had only done it for iOS not watchOS
Upvotes: 0