I am trying to upload an app to the app store and I am getting this error on the page that has the certs. As far as I can tell I have changed the field so they have matched,
Multiple targets:
...and use iCloud.
Turning iCloud on and off was not an option for us. We already use it in production and rather not mess with it... I got the original question's message and this variation at some point as well:
Profile doesn't match the entitlements file's values for the application-identifier and keychain-access-groups entitlements.
Hinted from other responses here, We made sure that all targets would have a .entitlements file. If the target had none we created an empty one like so:
...and pointed it's target Code Signing Entitlement in Build Settings to the empty .entitlements file.
Solved!