SDK“iOS5.1”中的产品类型“应用”需要代码签名 [英] Code signing is required for product type 'Application' in SDK 'iOS5.1'
问题描述
我正在使用xCode 4.3.1。在我创建了一个项目后,我构建它并尝试存档。然后我说错了; (这是我在xCode 4.3.1中的第一个项目)
I am using xCode 4.3.1. After i created a project, i build it and tried to Archive. Then i got an error saying; (This is my first project in xCode 4.3.1)
CodeSign错误:产品类型需要代码签名
'应用程序'在SDK中'iOS5.1'
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS5.1'
这是什么意思?以及如何解决?
What does this mean ? and how to solve it ?
推荐答案
这意味着您尚未为配置分配配置文件。
It means you haven't assigned a provisioning profile to the configuration.
通常是因为任何iOS SDK必须有个人资料,不能设置为不签名。
Usually it's because "Any iOS SDK" must have a profile and cannot be set to "Don't sign".
全部关于代码的 TN2250技术说明中回答了这个问题以及更多内容签名和疑难解答。
All this and more is answered in the TN2250 Tech Note about Code Signing and Troubleshooting.
这篇关于SDK“iOS5.1”中的产品类型“应用”需要代码签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!