I just added HealthKit to my project for which you need to add the entitlement in the Signing & Capabilities Section to the respective target.
However, whereas everything worked fine with my iOS App, Xcode crashed after adding the capability to the Watch App Extension. At first nothing happened, but when I clicked on the iOS target again, it crashed.
Did anyone experience something similar?
The entitlements file was missing. I created a property list and changed it to an entitlements file. The reference in the info.plist refered to a entitlements file short cut, which was leading nowhere.