Xcode 4-重新安装我删除的钥匙串证书 [英] Xcode 4 -reinstalls keychain certs that I delete

查看:280
本文介绍了Xcode 4-重新安装我删除的钥匙串证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到此错误:


CodeSign错误:证书身份
'iPhone Developer:XXX'出现了更多
,而不是钥匙串中的一次。
代码签名工具只需要
个。

CodeSign error: Certificate identity 'iPhone Developer: XXX' appears more than once in the keychain. The codesign tool requires there only be one.

起初我虽然没什么担心,但我会只需进入钥匙串并删除重复的(较旧的)钥匙扣即可,我做到了。我回去了,关闭了Xcode,重新打开了Xcode和项目,同样的错误。我虽然对我自己。回到钥匙串,证书再次出现。我删除了这两个证书,重复并注意项目加载时,删除的两个证书弹出到钥匙串中。

At first I though, no worries, I will just go into keychain and delete the duplicate (older) one, which I did. I went back, closed Xcode, reopened Xcode and project, same error. wtf I though to myself. Back into keychain and the cert is there again. I delete both certs, repeat, and notice as the project loads, the two certs I deleted pop back into the keychain.

经过大量搜索,我确保我没有系统钥匙串中的证书,我没有。还做了一个清洁和重建。当我在Xcode 3中有重复项时,我可以清理钥匙串重复项,我感觉很好。但是使用Xcode 4,当我打开项目时,它实际上只是以某种方式重新安装了它们。我什至删除了系统中的所有.cer文件,它们可能是从文件中拉出的。

After much searching, I ensured I did not have the cert in the system keychain, which I did not. Also did a clean and rebuild. When I had duplicates with Xcode 3 I could just clean up the keychain duplicate and I was good. But with Xcode 4 it literally just reinstalls them somehow when I open the project. I even deleted all .cer files on my system that it might possibly be pulling them from.

有什么建议吗?

推荐答案

解决方案是进入组织者-库-供应配置文件下,删除所有配置文件,然后重新安装我仍需要的任何配置文件。

The solution was to go into organizer - under library - provisioning profiles, delete all of them and then reinstall any profiles I still needed.

这篇关于Xcode 4-重新安装我删除的钥匙串证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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