如何调试“ Xcode CodeSign错误:权利文件Entitlements.plist丢失”。在Xcode 4中? [英] How to debug "Xcode CodeSign error: The entitlements file Entitlements.plist is missing" in Xcode 4?

查看:178
本文介绍了如何调试“ Xcode CodeSign错误:权利文件Entitlements.plist丢失”。在Xcode 4中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试CMD + I(配置文件)设备上的应用程序时,Xcode会引发此错误。跑步很好。

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.

Entitlements.plist的路径是虚假的,并且指向一个不再存在的位置。

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.

我仅找到有关此问题的Xcode 3.2相关资源。还有其他人在Xcode 4上遇到此问题并找到了解决方案吗?

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

推荐答案

将您的Entitlements.plist文件复制到您的根目录中项目。如果您再也没有了,请创建一个并将其放入默认捆绑包中。这里(一次)没有任何魔术。

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.

这篇关于如何调试“ Xcode CodeSign错误:权利文件Entitlements.plist丢失”。在Xcode 4中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆