Cannot get WatchKit app to recognize fall detection entitlement.

  1. I have a standalone WatchKit app
  2. Applied for and approved for fall detection entitlement
  3. Fall detection capability shows up in Developer account and is selected for the App ID

When app requests authorization for fall detection, the error "Fall Detection entitlement is required for this API" is emitted and app crashes.

I have built a minimal "Hello World" app to reduce the problem to its bare minimum and am able to reproduce it.

I have downloaded the mobile provisioning file and done manual signing.

When I do this, I get the build warning:

Provisioning profile "<AppName> App" for "<AppName>" contains entitlements that aren't in the entitlements file: com.apple.developer.health.fall-detection. To use these entitlements, add them to your entitlements file. Otherwise, remove unused entitlements from your provisioning profile. I have regenerated the AppID's, rebooted Xcode, deleted derived data, etc.

After spending many many hours on this, I decided to post this in hopes someone has an answer.

First, check the issue mentioned in the error: Do you have an Entitlements.plist file in your WatchKit App target that contains the com.apple.developer.health.fall-detection key as a Boolean with the value 1? If yes, did you request the entitlement with the AppID of your WatchKit App bundleID?

Once you've checked these two things, also make sure that you have a Privacy - Fall Detection Usage Description string in the Info.plist of your WatchKit App Extension target (if your app is extension-based) or your Watch App target (if you've updated to a single-target watch app with Xcode 14 beta).

Cannot get WatchKit app to recognize fall detection entitlement.
 
 
Q