App installation failed due to application-identifier entitlement

后端 未结 30 3466
轮回少年
轮回少年 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:46

    I had the same error until I restored the watch to factory defaults as per https://forums.developer.apple.com/thread/17948

    "Apparently if you have and existing WatchOS 1 app and try to update it to WatchOS 2 the bundle identifier changes and causes this error. If you update your watch you will need to do reset it if you had installed WatchOS1 app before updating that app to WatchOS2."

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

    This happened when I tried installing over top of an adhoc build.

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

    My problem was the App ID in combination with the certificate used to create the provisioning profiles. None of my provisioning profiles were working because none of them were "Elgible" (created with a certificate that matched the App ID). I had moved development to a new machine, so perhaps this was the deeper reason. At any rate I had to create a new certificate, then new provisioning profiles with that certificate being careful to choose the right App ID when creating them. Good luck.

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

    Delete any previous versions of App from your iPhone and then Clean->Build and Run again. Your app should run smoothly on your Device.

    Also, please make sure you have not selected Distribution Certificate in your Project Settings while trying to run your project directly on your device.

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

    Steps

    1. With your device connected, and Xcode open, select Window->Devices
    2. Now select the app and download the container using setting icon
    3. Delete the app
    4. Install app again using Xcode
    5. Stop from Xcode
    6. Go to Window->Device and select the app and replace the container that is backup from previous app
    0 讨论(0)
  • 2020-12-07 07:49

    Even though I followed some few logical steps: uninstall app, rebuild project, the only solution that worked for me was: restart XCode. (XCode 8.1)

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