CodeSign错误:SDK'iOS 6.1'中的产品类型'Application'需要代码签名 [英] CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 6.1'
问题描述
我知道这已经被问过了。
I know this has been asked before.
但是,我确保配置文件既在项目中又在目标中。
However, I have ensured that the profile is in BOTH the project and target.
实际上我应该在项目中还是在目标中设置它?
Actually should I set that up in the project or in target?
更新:我可以在设备上实际安装该应用程序,但前提是我更改了代码签名
Update: I can actually install the app on device but if and only if I change the code signing identity to iPhone Developer for debug.
但是,我显然想使用分发配置文件而不是开发人员配置文件启动应用程序。
However, I obviously want to launch the application with my distribution profile instead of my developer profile.
推荐答案
我终于解决了这个问题。
I finally got this thing solved.
基本上我从itunes connect删除了所有证书和配置文件苹果开发者网站。
Basically I deleted all certificate and provisioning profile from itunes connect or apple developer website.
然后我等了5分钟。添加2个分发配置概要文件。
Then I waited 5 minutes. Add 2 distribution provisioning profile. Then do it again.
它可以正常工作。
哦,是的,我需要确保代码签名身份指向正确的配置文件。就是这样。
Oh ya, I need to ensure that the code signing identity points to the right provisioning profile. That's it.
这篇关于CodeSign错误:SDK'iOS 6.1'中的产品类型'Application'需要代码签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!