ITMS-90876: Missing entitlement

I create a clips, and upload to store, have a error:

ITMS-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.

I had seting clip's entitlements file infomation: com.apple.developer.on-demand-install-capable is YES; Parent Application Identifiers array has $(AppIdentifierPrefix)com.myproject.

so, how to solve this error?

Replies

The com.apple.developer.parent-application-identifiers entitlements are both added automatically to the app clip target on creation.

Xcode doesn't seem to add the corresponding com.apple.developer.associated-appclip-app-identifiers entitlement to the parent app target.

I added it (manually) to the parent app's entitlements file, with the value $(AppIdentifierPrefix)com.myproject.Clip, and it seems to work. Didn't get another ITMS-90876 error email from App Store Connect after submitting.