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

前端 未结 23 1914
灰色年华
灰色年华 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:50

    Our Setup

    Multiple targets:

    • sub-apps
    • watch
    • app clip
    • today widget

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

    Solution

    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!

提交回复
热议问题