Not able to upload app to App Store Connect for TestFlight internal testing because of fall detection entitlements

I am developing a watchOS app that uses the uses the Fall Detection API. After requesting the entitlement, and receiving the entitlement and adding it to my app, I managed to implement the feature, and run the app on the simulator in Xcode and it works fine.

But when I try to distribute the app to TestFlight internal testing, Xcode refuses and shows the following message: "Provisioning profile failed qualification: Profile doesn't support Fall Detection Notifications" and "Provisioning profile failed qualification: Profile doesn't include the com.apple.developer.health.fall-detection entitlement"

I am using an Xcode managed provisioning profile, and when I checked the profile from "signing and capabilities", it says that the fall detection capability and the entitlement are included in the profile.

When I check my app's capabilities from "Certificates, Identifiers & Profiles" in the apple developer website, it says that the fall detection capability for my app has provisioning support for Ad hoc and Development only, is this the reason why I can't upload my app to TestFlight, or am I missing something? If it is the reason, then is there a way to change the provisioning support so that I can distribute the app?

Thanks in advance

Answered by DTS Engineer in 814625022

By far the most common cause of problems like this is that you were granted the capability for development but not for distribution. I talk about this in general terms in Finding a Capability’s Distribution Restrictions.

It looks like you’ve already run through this process:

When I check my app's capabilities from "Certificates, Identifiers & Profiles" in the apple developer website, it says that the fall detection capability for my app has provisioning support for Ad hoc and Development only, is this the reason why I can't upload my app to TestFlight … ?

Yes. To use TestFlight you’ll need to apply for and be granted the distribution capability.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

By far the most common cause of problems like this is that you were granted the capability for development but not for distribution. I talk about this in general terms in Finding a Capability’s Distribution Restrictions.

It looks like you’ve already run through this process:

When I check my app's capabilities from "Certificates, Identifiers & Profiles" in the apple developer website, it says that the fall detection capability for my app has provisioning support for Ad hoc and Development only, is this the reason why I can't upload my app to TestFlight … ?

Yes. To use TestFlight you’ll need to apply for and be granted the distribution capability.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Not able to upload app to App Store Connect for TestFlight internal testing because of fall detection entitlements
 
 
Q