close

The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile

Today I come back with a new solution. Today when I Upload my TestFlight Through XCODE I Get This Error: The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. When I was Upload TestFlight It Was Worked Fine. But when I Upload the Latest Build Today I am Facing This Error in Flutter.

How The entitlements in your app bundle signature do not match the ones that that are contained in the provisioning profile Error Occur ?

When I Try To Upload My iOS Build to TestFlight From Xcode In Flutter I Faced Following Error.

ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[ ]' for the key 'com.apple.developer.healthkit.access' in 'Payload/Runner.app/Runner'."

I am Solve This Error By Multiple Solution. That’s why I am gonna share all Possible solutions that I have tried to Solve This Error. So Without Wasting your Time, let’s start this article.

How To Solve The entitlements in your app bundle signature do not match the ones that that are contained in the provisioning profile Error ?

What worked for me was to remove the following line in the .entitlements file

com.apple.developer.healthkit.access
How To Solve The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile?

I Think It’s Apple Error OR Apple applied new logic and strict validation rule for entitlements validation Cause I haven’t changed the entitlements for months and out of a sudden that error occurs? The possible solution s to remove the com.apple.developer.healthkit.access from entitlement.

The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile

I Think It’s Apple Error OR Apple applied new logic and strict validation rule for entitlements validation Cause I haven’t changed the entitlements for months and out of a sudden that error occurs? The possible solution s to remove the com.apple.developer.healthkit.access from entitlement.

Question: How To Solve The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile?

Answer : I Think It’s Apple Error OR Apple applied new logic and strict validation rule for entitlements validation Cause I haven’t changed the entitlements for months and out of a sudden that error occurs? The possible solution s to remove the com.apple.developer.healthkit.access from entitlement.

Solution 1

I Think It’s Apple Error OR Apple applied new logic and strict validation rule for entitlements validation Cause I haven’t changed the entitlements for months and out of a sudden that error occurs

Possible Solution That Worked for me is remove the following line in the .entitlements file.

<key>com.apple.developer.healthkit.access</key>
<array/>

This Solution Is Work For Me And I have Submitted my TestFlight Successfully after remove that line.

Solution 2

  1. Open the .entitlements file.
  2. Deleting the empty iCloud Container entitlement (array) from the entitlement files
  3. Seems like a server-side change from Apple that no longer allows an empty array there.

Summery

So it’s all About this issue. Hope The entitlements in your app bundle signature do not match the ones that that are contained in the provisioning profile above all solution helped you a lot. Comment below Your thoughts and your queries. And Also Comment on your suggestion here.

Also Read

Leave a Comment