xcode 此证书的颁发者无效
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17453441/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
This certificate has an invalid issuer
提问by Twomz
Our distribution certificate for an enterprise ios app is expiring soon, so we made a second certificate in order to build a new, not expiring version of the app. I created a new certificate using keychain access just like I've done before (3 years to expire instead of one... woo hoo). Since I named it the same as the old certificate, I exported the old one and saved it out on our fileserver then deleted the old certificate from the keychain.
我们的企业 ios 应用程序分发证书即将到期,因此我们制作了第二个证书以构建新的、未过期的应用程序版本。我使用钥匙串访问创建了一个新证书,就像我以前所做的一样(过期 3 年而不是一年......呜呜)。由于我将其命名为与旧证书相同的名称,因此我导出了旧证书并将其保存在我们的文件服务器上,然后从钥匙串中删除了旧证书。
I managed to archive the app with the new provision profile that uses the new certificate. But, when I go to create the ipa file to test the distribution it can't find any valid provisioning profiles.
我设法使用使用新证书的新配置文件归档应用程序。但是,当我创建 ipa 文件来测试分发时,它找不到任何有效的配置文件。
When I checked the certificate in the keychain, it now shows as "This certificate has an invalid issuer" instead of "This certificate is valid".
当我检查钥匙串中的证书时,它现在显示为“此证书的颁发者无效”而不是“此证书有效”。
I have the private key and it is showing just fine on the apple developer site... so I'm not sure why it's saying there's an issue with the issuer. Has anyone else seen this before? Or do I just need to clear everything ahead of time and then make yet another certificate/provisioning profile for the app?
我有私钥,它在苹果开发者网站上显示得很好……所以我不确定为什么它说发行者有问题。有没有其他人见过这个?或者我是否只需要提前清除所有内容,然后为应用程序制作另一个证书/配置文件?
采纳答案by Twomz
Well, it suddenly started working later in the day. I have no idea what caused the original issue.
好吧,它突然在当天晚些时候开始工作。我不知道是什么导致了最初的问题。
If you have multiple macs, you can export the certificate and import it on another machine. That worked for me.
如果您有多台mac,您可以导出证书并在另一台机器上导入。那对我有用。
If you only have access to the one mac... wait four hours, cross your fingers and try again?
如果您只能访问一台 Mac……请等待四个小时,然后交叉手指再试一次?