简体   繁体   中英

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.

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.

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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM