Profile doesn't match the entitlements file's value for the application-identifier entitlement

前端 未结 23 1777
灰色年华
灰色年华 2020-12-13 03:11

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,

相关标签:
23条回答
  • 2020-12-13 03:38

    Delete all profiles located in ~/Library/MobileDevice/Provisioning Profiles/

    0 讨论(0)
  • 2020-12-13 03:41

    Maybe the {project}.entitlements file was missing. Doing what @samkass mentioned will auto generates the file and it will work. So basically just go to capabilities tab, enable anything, and disable it.

    0 讨论(0)
  • 2020-12-13 03:41

    TL;DR: check your App ID and make sure the services are matching what's in your target.


    What happened to me was that I let Xcode 10.1 help me create an App ID, and after that, I run into the problem as described here. (I selected whildcard app ID when I created the app in iTunesConnect, so I didn't even realized this was done.) When I opened iOS developer portal, the new app ID has Game Center and In App Purchase enabled automatically.

    Since I couldn't enable Game Center in your Target -> Capabilities, I enabled In App Purchase, and then my app could be signed and uploaded.

    0 讨论(0)
  • 2020-12-13 03:42

    I went into my Target's Capabilities tab, turned Keychain Sharing ON and it starts working

    0 讨论(0)
  • 2020-12-13 03:42

    I ran into the same issue while setting up a Gitlab pipeline that runs exportArchive cmd and uploads to AppStore. I was able to get it to work by changing the DEVELOPMENT_TEAM in Build Settings to the same Team selected in Signing & Certs.

    Because previously it was set to blank which was using another DEV TEAM id by default which was incorrect and didn't match and it was complaining about the "application-identifier" = 12331232.com.bannana.apples.peach not matching. Which lead me to setting the correct DEV TEAM and it worked.

    Xcode ver: Version 11.3.1

    I hope this helps somebody.

    0 讨论(0)
  • 2020-12-13 03:43

    Changing the iCloud toggle to on, building, and disabling iCloud, got rid of the error saying that:

    Profile doesn't match the entitlements file's values for the application-identifier and keychain-access-groups entitlements.

    0 讨论(0)
提交回复
热议问题