CloudKit CKShare Acceptance

Hi there! I am implementing CloudKit sharing in my app. In the perShareCompletionBlock it returns an error which is "missingEntitlement", and the description is:

Connection (null) is missing the application-identifier or com.apple.developer.associated-application-identifier entitlement

What does it mean? I can not figure it out.
Of course I can not accept any share.

Accepted Reply

More information:

I am creating the share with no problems. It works, until I open the link to accept the share.
In the info.plist the CKSharingSupported is true. The CloudKit Capability is enabled with custom container.
I am testing it through Testflight, and I pushed to Production in the CloudKit dashboard.

Replies

More information:

I am creating the share with no problems. It works, until I open the link to accept the share.
In the info.plist the CKSharingSupported is true. The CloudKit Capability is enabled with custom container.
I am testing it through Testflight, and I pushed to Production in the CloudKit dashboard.