Entitlements.plist not created properly

前端 未结 5 695
刺人心
刺人心 2020-12-29 09:37

reading the doc from apple I need to create an ad-hoc distribution app, and to do so I need the entitlements.plist. when i create a new entitlement, the value \"get-task-al

相关标签:
5条回答
  • 2020-12-29 10:12

    You can do so. Also you can select your Entitlements.plist in XCode and select in Main Menu: View / Property List Type / iPhone Entitlements plist. Then your key can be selected from dropdown list and will be called "Can be debugged" (as quite as I remember - it should be the only key avaliable in this list)

    0 讨论(0)
  • 2020-12-29 10:15

    In XCode 4.2, the Entitlements file has been moved. It's now part of the project root's "Targets" section, at the bottom of the list of the "Summary" items.

    0 讨论(0)
  • 2020-12-29 10:16

    I had this same problem. I manually created a new row "get-task-allow", changed type to boolean and actually had to have it set to true to get the device token.

    0 讨论(0)
  • 2020-12-29 10:18

    Try, in XCode, to go "new file" and in the wizard select "code signing". Select the "Entitlements" file type.

    Just name it "Entitlements.plist". Make sure the task-allow is not checked for adhoc distrobution.

    This is all you need to do, no need to "roll your own" :)

    (Xcode 3.2.2)

    UPDATE:

    Since Xcode 4.2 the Entitlements.plist was removed from the "new file" menu. You now find it under: Project's Targets > Summary at the bottom of the page.

    0 讨论(0)
  • 2020-12-29 10:34

    I too had the same issue, with enterprise provisioning. After lots of googling I found this. Extracted the ipa, copy the Entitlements.plist to the Payload folder and codesigned with the method in this. didn't do anything else, it started installing properly.

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