App installation failed due to application-identifier entitlement

后端 未结 30 3469
轮回少年
轮回少年 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 07:49

    Accepting the pending agreements from the developer website and iTunes Connect website and reopening the project in X-Code solved the situation for me.

    0 讨论(0)
  • 2020-12-07 07:52

    I found that I had accidentally changed the provisioning profile to have a wildcard in it.

    Ie., it went from com.companyname.appnickname to com.companyname.*

    I made a new provisioning profile with the full name correctly named, downloaded it, set the Target->build settings->provisioning profile to that new profile, restarted xcode, got a bizarre error from xcode (it seemed to confuse my various app developer logins), restarted xcode again, and it worked!

    I didn't want to delete the existing app, because I was trying to test what happens when a user upgraded their app to a newer version, so I had installed the app store version and then run my xcode with the newer version (which acts like 'upgrading' the app without removing any user data).

    0 讨论(0)
  • 2020-12-07 07:53

    I solved this without deleting the app

    With the project open in xcode. Project -> Build Settings -> Code Signing -> Provisioning Profiles (drop down) It is probably set to automatic and is choosing the wrong profile. Open the drop down and choose the correct one, then re-run the app.

    0 讨论(0)
  • 2020-12-07 07:53

    I had the same error and I solved it by changing Bundle Identifier to something new. After that it build project with no problem.

    My steps:

    • Open Xcode
    • Go to General tab
    • Find Identity
    • Change Bundle Identifier to something new.

    0 讨论(0)
  • 2020-12-07 07:54

    I had this problem with an iPhone app, and fixed it using the following steps.

    • With your device connected, and Xcode open, select Window->Devices
    • In the left tab of the window that pops up, select your problem device
    • In the detail panel on the right, remove the offending app from the "Installed Apps" list.

    After I did that, my app rebuilt and launched just fine. Since your app is a watchOS app, I'm not sure that you'll have the same result, but it's worth a try.

    0 讨论(0)
  • 2020-12-07 07:54

    I encountered this issue because I built to the phone with my code signing turned off from another machine, so you need to uninstall the app from the phone before installing/building to the phone with code signing on.

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