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

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

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

编辑:

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


当前回答

我发现我需要拖动distribution_identity。我从开发人员程序门户网站上的“Certificates -> Distribution”页面下载的cer文件到密钥链访问程序中,然后这个错误就消失了。

其他回答

“这是苹果门户网站的一个漏洞。他们在配置配置文件中缺少一个必要的字段。他们在2009年6月16日晚些时候修复了这个错误。”

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

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

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

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

我发现我需要拖动distribution_identity。我从开发人员程序门户网站上的“Certificates -> Distribution”页面下载的cer文件到密钥链访问程序中,然后这个错误就消失了。

我也遇到了同样的问题:我第一次是在跑步时把证书下载到我的小MacBook上的。当我试图在iMac上安装证书时…然后我遇到了这一页上描述的问题。

和你们很多人一样,我花了几个小时把头发揪出来,然后我按照下面的步骤来解决它:

Close all your stuff except your webpage that should be logged into App Dev center. Open Xcode. Click WINDOW > ORGANIZER. Then click the Devices tab and select "Provisioning Profiles" on the left. That should bring up your provisioning profiles. Highlight one by one (if more than 1), right click and delete profile. Yes, just do it! Delete them all! (I kept making a new one after a new one trying to make the thing work.) From the first page you see after logging into the App Dev Center on the right side click "iOS PROVISIONING PORTAL" > (do not "launch assistant"). Instead click on the left side. Select CERTIFICATES. You will probably have just one line listed with your name/company - from there click on the right side REVOKE. Click OK to verify that's what you want to do. On the same page click DEVICES. Click the box next to your device you are trying to provision and click REMOVE SELECTED. Again click OK to verify. Wait about 2 minutes to let Apple do their thing. Now click on "HOME" that is on the left side navigation. Click "Launch Assistant" create a new app ID - call it whatever you want. Just make sure it's unique enough to know that's the one you just created because the others you've been messing with all day will not be deleted from Apples Dev Center. You should be able to follow the rest of the Assistant without troubles -- the main thing is you just had to delete your old provision profiles and start over.

好运!

我解出来了。 我不得不把。cer文件拖到KeyChain Access中。但请确保左上角的“Login”已被选中。否则,Xcode将无法看到证书,也就无法为你的代码签名。

苹果在这方面还有改进的空间....