Automatic signing is unable to resolve an issue with the "AppName.app" target's entitlements. Switch to manual signing and resolve the issue by downloading a matching provisioning profile from the developer website. Alternatively, to continue using automatic signing, remove these entitlements from your entitlements file and their associated functionality from your code. Then rebuild your archive and try again. Provisioning profile failed qualification Profile doesn't match the entitlements file's value for the application-identifier entitlement.
I'm getting this error when I"m archiving my app, I re-set my .entitlements files, but it still failing.
The capabilities that I'm using are listed below,
In my case I have to delete provisioning profiles. Here is how to do it.