我有以下问题,我在任何地方都找不到解决方案。基本上,我们有一个公司开发人员帐户(不是企业),所以为了提交我们的应用程序,我要求我们的团队领导向我发送分发证书,并创建并发送分发配置文件。

有了开发者配置文件,一切都很好,但当我安装证书和供应配置文件时,我在Xcode上没有看到分发配置文件,也没有在keychain中的dist cert下有私钥。

有人知道怎么解吗?我在不同的地方读到,我需要撤销证书并创建一个新的,但我真的不能这样做,因为我们公司有一堆应用程序,我不能为每个人撤销它。


当前回答

我是密钥的创建者,但密钥附加到过期的证书上。

为了解决这个问题,我去了-> Xcode/Preferences/Accounts/"Account you used To archive"/Manage Certificates..

然后点击左下角带有“+”符号的下拉菜单,并选择您需要更新的证书类型(我的是Apple Distribution)。

这更新了我的新证书,并附上了密钥。

其他回答

我失去了几个小时来解决这个问题,但它是通过重新启动MAC…

我是密钥的创建者,但密钥附加到过期的证书上。

为了解决这个问题,我去了-> Xcode/Preferences/Accounts/"Account you used To archive"/Manage Certificates..

然后点击左下角带有“+”符号的下拉菜单,并选择您需要更新的证书类型(我的是Apple Distribution)。

这更新了我的新证书,并附上了密钥。

I assume you have switched device and trying to create a new certificate for your new device, First revive the development certificate form the developers portal, Go to xcode > preferences > accounts > select your apple id with the dev portal access > manage certificates > click on the team account > click on the little + button > click on apple distribution Go to the apple developer portal , you can see a distribution certificate is created , Go to profiles create a new profile with the new certificate. Download > install done

联系iOS分发密钥的创建者并告诉导出证书和私钥,然后只需下载并双击它即可在您的钥匙链中访问。

我的问题是,不管出于什么原因,登录的钥匙串在钥匙串访问中丢失了。Xcode创建了一个新的证书,并将其添加到登录密钥链中,但无法使用它。重新启动电脑解决了我的问题。