App installation failed due to application-identifier entitlement

后端 未结 30 3470
轮回少年
轮回少年 2020-12-07 07:40

I am unable to install a watchOS 2 WatchKit app due to an application-identifier entitlement. This happened after turning on App Groups in the Capabilities tab.

Full

相关标签:
30条回答
  • 2020-12-07 08:01

    You will get this error when your AppID prefix does not match the prefix of the previously installed app. If your app is already in the App Store, you will not be able to submit updates without restoring the original AppID prefix or contacting Apple.

    Apple's instructions for handling this problem: https://developer.apple.com/library/content/technotes/tn2319/_index.html#//apple_ref/doc/uid/DTS40013778-CH1-ERRORMESSAGES-UPGRADE_S_APPLICATION_IDENTIFIER_DOES_NOT_MATCH_THE_INSTALLED_APP

    If you did not intend to change the AppID prefix then Xcode is signing your app with the wrong provisioning profile.

    If you do intend to change the AppID prefix (because the app was transferred to a new developer, or you are migrating from an old pre-2011 AppID) you must contact Apple to migrate an existing AppID to a new prefix.

    You must also add the previous-application-identifiers entitlement to your app, listing all previous AppIDs (with old prefixes). And you must ask Apple to generate a provisioning profile for you that includes the previous-application-identifiers entitlement.

    0 讨论(0)
  • 2020-12-07 08:03

    I received this error after I moved from a 5s to a 6s. I recovered the new 6s from a backup of the old iPhone. Because of this on the new iPhone the old app was installed.

    The old app did not show up in the 6s "Installed Apps" list! I manually deleted this old app from the 6s and everything was fine.

    0 讨论(0)
  • 2020-12-07 08:03

    For me, this occurred after updating to XCode 11, like the others have said, it is a signing issue. What fixed it for me was to go to Developer portal > Certificates & Identifiers Edit the provisioning profile you are using

    List of certificates Screenshot

    You'll see that there's certificate for XCode 11 (as seen on screenshot) Just tick that box, re download the profile, and update your projects signing with the new profile.

    0 讨论(0)
  • 2020-12-07 08:04

    I faced the same problem and was stuck for several minutes and after a search, the simplest solution that i found is just remove the previously installed app from your device manually and try to run the app from Xcode again.

    Hope it helps you. All the Best...

    0 讨论(0)
  • 2020-12-07 08:04

    Uninstall the main iPhone app, Watch app and build them again solves the problem.

    0 讨论(0)
  • 2020-12-07 08:04

    None of the answers above worked for me. My problem: I had installed an App Version from Testflight, so, I just deleted both, the old app and the Testflight version, and is working again.

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