Entitlements are not valid

后端 未结 17 2375
野的像风
野的像风 2020-12-01 00:47

Recently, I have upgraded my iPhone SDK OS from version 2.2.1 to 3.0 version. After that, while building my application, I get an error that the provisioning profile has exp

相关标签:
17条回答
  • 2020-12-01 01:25

    Code signing entitlements are no longer necessary for Ad Hoc builds in Xcode 4 - see details notes in Apple Technical Note TN2250

    0 讨论(0)
  • 2020-12-01 01:25

    You also need to make sure that you have an unexpired provisioning profile, which foiled me on this one for a while (Ad Hoc provisioning profiles seem to expire after a year). Error message is the same, but it has nothing to do with not having a valid Entitlements.plist file.

    0 讨论(0)
  • 2020-12-01 01:25

    This happened to me as well, and the other answers did not solve it for me.

    After spending half a day building, installing, cleaning, clicking to no avail - I finally erased Entitlements.plist from the box under Code Signing Entitlements, saved, and typed it in again - voila! It worked again! I never touched the actual Entitlements file, just the setting.

    0 讨论(0)
  • 2020-12-01 01:29

    I got bit by this as well and found the answer in Ad-Hoc Apps and Entitlements.

    You may need to make sure the path to your Entitlements.plist file is entered in your project settings under "Code Signing Entitlements".

    0 讨论(0)
  • 2020-12-01 01:30

    make shure to select the Signing Identity in the TARGETS ;)

    0 讨论(0)
  • 2020-12-01 01:32

    I just found another circumstance that causes this problem. You have to make sure you include the correct provisioning profile. I have an application that has both an iPhone and an iPod version, and an iPad version built from the same project. I apparently sent out the iPad ad hoc profile with the iPad version of the application, and it doesn't work. Worse, I installed the correct profile locally with Xcode, so everything works correctly on my machine.

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