How to debug “Xcode CodeSign error: The entitlements file Entitlements.plist is missing” in Xcode 4?

一个人想着一个人 提交于 2019-12-06 08:31:54

问题


Xcode throws this error when I try to CMD+I (Profile) an app on the device. Running is fine. Just profiling doesn't work and gives this error.

The path to the Entitlements.plist is bogus and points to a location that doesn't exist anymore.

I don't want to do Ad-Hoc Distribution, just profile my app on the device.

I'm finding only Xcode 3.2 related resources about this issue. Has anyone else encountered this with Xcode 4 and found a solution?


回答1:


Copy your Entitlements.plist file into the root directory of your project. If you don't have one anymore, then create one and put it in your default bundle. There's (for once) no magic going on here.



来源:https://stackoverflow.com/questions/8315372/how-to-debug-xcode-codesign-error-the-entitlements-file-entitlements-plist-is

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