这事让我非常担心。我刚刚下载了iPhone 3.0 SDK,但现在我无法让我的配置文件工作。以下是我的尝试:

删除所有配置配置文件 删除登录keychain 创建新的“登录”钥匙链,使它 默认的 创建一个新的证书签名请求 创建新的开发人员和分销渠道 证书在苹果开发者中心 下载并安装它们 下载并安装WWDR证书 创建一个新的配置文件和 双击它来安装

所有的证书报告都是有效的,但是Xcode仍然不能识别它们。接下来我该试试什么?

编辑:

我完全重新安装了Mac OS X,从一个新的安装安装了3.0 SDK,仍然有同样的问题。


当前回答

我也遇到过同样的问题。这是因为证书的私钥在您的机器上不存在。

If you are now using a new machine and download the certificate from website: You can export the certificate from the old machine and then import on the new machine. If you share the developer account with someone: You ask the account owner to send you an invitation and become a team member of that account. Then you can create your own certificate from scratch. If you don't want to handle all these sh*t: Just revoke the certificate on website and delete the copy on your local machine. Then request a new one. This should be the ultimate way for solving such issue.

其他回答

Because I keep coming back to this question, I will leave my answer here for the solution that works for me. It turns out that for a same public/private key developer identifier of me, it's installed twice in my keychain. Both have private key. But when I compare, one is private key of me within my developer organisation, and another one is private key of me as a personal developer. It turns out Xcode keeps trying using the wrong key. Removing the wrong duplicate key solves all the problem. Hey future me, check this one first next time!

嘿,伙计们,我昨天遇到了一堆麻烦。我经历了整个过程几次,使用助手向权威机构请求新的证书,清除门户中的所有内容,上传证书,创建新的配置文件并下载所有内容。不行。

但是,看看这个。

首先清除门户上的所有证书,重新开始。

在使用助手创建新的证书请求后,按“在查找器中显示”,然后双击那个坏男孩。您应该会看到一个证书助手的弹出窗口,屏幕上显示“请指定颁发证书的颁发机构”等。如果你没有,只要关闭它,再次双击。 现在继续对话框选择 “从现有CA请求证书”-继续 请求已“保存到磁盘”-继续 保存在任何你喜欢的地方,甚至覆盖文件。

最后你会看到神奇的“创建密钥对”

跑到钥匙链访问,你会看到你的钥匙在那里!将这个证书上传到apple门户,然后正常地通过他们的向导,现在一切都应该工作得很好了。

你试过重启你的Mac和设备吗?蹩脚的回答,但我总是先试一下。

在仔细浏览了这里的主题并检查了人们提出的所有解决方案后,我可以自信地断言,在遵循苹果开发者文档中提到的创建CSR和移动供应文件的步骤后,就这样做吧!,

Xcode发射。 选择窗口- >组织者 点击这个刷新按钮,肮脏的黄色条将立即删除。

http://img.skitch.com/20100820-1ngm8an14c6fm3dt7g6j51d2nx.jpg

相信我,你只需要这么做。没有必要一遍又一遍地重复这个过程来确保你的方法是正确的。只需按下刷新,输入您的登录凭证,就完成了。

昨天也遇到了同样的问题。现在,在签署到开发人员门户之后,对于每个无效的配置概要都有一个按钮“Renew”。更新和下载更新后的配置文件似乎都能正常工作,所以问题肯定解决了:)

更新:你可能需要联系苹果来获得一个“更新”按钮,或者他们删除了它——解决方案是下载它并添加到钥匙链,不需要更新。