Xcode 4.2中令人讨厌的代码签名错误/警告 [英] Annoying Code Signing Error/Warning in Xcode 4.2

查看:75
本文介绍了Xcode 4.2中令人讨厌的代码签名错误/警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试将我的iOS应用提交到App Store,我已按照此处找到的必要步骤进行操作,

I'm trying to submit my iOS app to the App Store, I have followed the necessary steps found here, https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933, archived, validated and submitted it to Apple whiteout any errors. The issue appears when I try to build my application for my iPhod touch where I get the following warning:

Application failed codesign verification.  The signature was invalid, or it was not   
signed with an iPhone Distribution Certificate. (-19011)

[...]

test-requirement: code failed to satisfy specified code requirement(s)
codesign_wrapper-0.7.10: failed to execute codesign(1)
- (null)

该应用在设备上运行正常,但是xCode不断向我显示此警告.

The app runs fine on the device, but xCode keeps showing me this warning.

我的构建设置如下(在目标和项目上):

My build settings looks like this (both on target and project):

很烦人.有关如何解决此问题的任何提示?

Quite annoying. Any tips on how to solve this?

更新: 我很确定我找到了问题的原因.我在另一台机器上对其进行了测试,但未显示警告.然后,我在两台计算机上比较了我的密钥和证书,在第一台计算机上删除了重复项.但是它仍然没有用.在我的第二台计算机上(没有任何警告),我找到了未知"证书,因此我删除了它(我以前也在第一台计算机上也删除了它).但是现在我也收到该机器的警告.有人知道是否有可能以某种方式找回该证书吗?

Update: I'm pretty sure that I found the cause of the problem. I tested it on another machine and no warning showed up. I then compared my keys and certificates on both machines, removed duplicates on my first machine. But it still didn't work. Om my second machine (where I didn't got any warnings) I found an "Unkown" certificate, so I deleted it (I had previously deleted it on my first machine as well). But now I get the warning on that machine as well. Does anybody know if it's possible to get this certificate back somehow?

推荐答案

我通过重新安装Lion来解决"它.我几乎可以肯定是引起警告的是未知"证书的删除.因为,现在又回来了,我没有收到任何警告.也可能使用某种第三方数据恢复软件来找回该证书.

I "solved" it by reinstalling Lion. I'm almost sure that it was the deletion of the "unknown" certificate that caused the warning. Because, now it's back and I don't get any warnings. It might also be possible to use some kind of 3rd-party data recovery software to get that certificate back.

这篇关于Xcode 4.2中令人讨厌的代码签名错误/警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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