Entitlements.plist not created properly

你说的曾经没有我的故事 提交于 2019-11-30 04:57:29
RickiG

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.

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)

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.

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.

Sisira

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!