their private keys are not installed.

*** has 2 apple distribution but their private keys are not installed,contact the creator of one of these certificates to get a copy of the private key

如果就你一个开发着,在apple开发者中心找到无用(Certificates)的删掉试试吧

删掉一个证书后又抱错.

报错:
has xxx apple distribution certificates but their private keys are not installed. contact the creator of one of these certificates to get a copy of the private key

status Not in keychain

看到这个报错,是没有私钥,提示要私钥。

尝试从开发者账号上删除原先的证书,重新申请,一番倒腾之后,还是一样的报错。

最后我想着xcode 11 里面Manage Certificates 不是也可以生成证书,既然是xcode在纠结证书的问题,那么索性把证书申请的任务交给xcode的吧,于是我就把线上的证书删除,本地钥匙串里面的证书也删除,用下面的方法申请,然后成功了。

1、打开xcode,选择
在这里插入图片描述
2、进入preferences
在这里插入图片描述
3、点击 Manage Certificates 进入详情页 点“+” 添加Apple Distribution
在这里插入图片描述
4、选择需要的证书类型,接下来就可以创建了,注意的地方是如果线上有一个证书了,会创建不成功,需要把已有的证书删除重新创建。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值