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

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

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

编辑:

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


当前回答

For Xcode 13 (maybe earlier?) - The key to this is to use the "Build Settings" tab, not the "Signing and Capabilities" tab in your Target Settings. Once you are in "Build Settings", search for the "Signing" section (you can type "Signing" in the search box). There you will see a sub-section called Code Signing Identity. In that section you can click on each line and directly choose any certificate you have in your keychain. You need to do that for all of the relevant configurations (the ones that you want to upload to TestFlight/AppStore). When you go back to the "Signing and Capabilities" tab, you should see the results of what you did and the error should have gone away.

我从下面的答案中得到了灵感:https://stackoverflow.com/a/37043501/826946

但我认为明确地列出这一点可能会有所帮助。

其他回答

Xcode 4需要注意的是:在组织者的左边有两个不同的区域:

库>配置配置文件 设备>您的设备>配置文件

我总是把我的配置文件放在2中。即使在清洁和正确安装之后,它也不能工作。然后我发现。最后我找到了刷新按钮。如果您在1中选择“自动设备供应”。然后单击刷新,然后所有内容都得到验证(2中没有黄色警告。了)。

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

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

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

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

我也遇到了同样的问题:我第一次是在跑步时把证书下载到我的小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.

好运!

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

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

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

但是,看看这个。

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

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

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

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