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.
2
Answers
I was facing same issue. I was missing
$(AppIdentifierPrefix)
.adding below to .entitlement file of main app fixed for me.
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 trickXCode
to create a new profile for you. Go to Project Target >Signing & Capabilities
page and add a newCapability
(for exampleSign 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.