Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 12.5 Missing entitlement com.apple.developer.associated-appclip-app-identifiers

After I updated Xcode version to 12.5 I have problem with App Clip.

During App Store Connect uploading I receive warning:

TMS-90876: Missing entitlement - This app contains an app clip. The entitlement 'com.apple.developer.associated-appclip-app-identifiers' should be present and include the value of the app clip's application identifier.

there is no information how to add this entitlement

I tried to add 'com.apple.developer.associated-appclip-app-identifiers' key to entitlements file

<key>com.apple.developer.associated-appclip-app-identifiers</key>
<array>
    <string>{my_clip_bundle_id}</string>
</array>

but the error appears

Provisioning profile "iOS Team Provisioning Profile: {my_bundle_id}" doesn't match the entitlements file's value for the com.apple.developer.associated-appclip-app-identifiers entitlement.

like image 655
Konrad Piękoś Avatar asked May 13 '21 15:05

Konrad Piękoś


Video Answer


2 Answers

This seems to be a bug on Apple's side.

All you need to do is regenerate the provisioning profiles.

If you are using Automatically Manage Signing, there is a way to trick XCode to create a new profile for you. Go to Project Target > Signing & Capabilities page and add a new Capability (for example Sign in with Apple). This will force the regeneration of the provisioning profile. After that, you can remove the newly added Capability and upload a new build without any warnings.

like image 159
budiDino Avatar answered Sep 21 '22 13:09

budiDino


I was facing same issue. I was missing $(AppIdentifierPrefix).

adding below to .entitlement file of main app fixed for me.

<key>com.apple.developer.associated-appclip-app-identifiers</key>
<array>
     <string>$(AppIdentifierPrefix)com.app.appclipbundleid</string>
</array>
like image 39
Dhaval Bhimani Avatar answered Sep 18 '22 13:09

Dhaval Bhimani