分发 IPA - 为什么在分发具有企业选项的应用程序时总是出现未安装私钥错误?

Distribute IPA - Why keep getting private keys not installed error when distributing apps with enterprise options?

我想询问有关在企业程序中分发 IPA 的问题。我做了什么:

1. Create a new certificate and private key (the type is ios distribution)
2. upload the certificate in the account for the apple company program website
3. archive my application with xcode 11
4. download renewed apple WWDR certificate

当我想在企业模式下分发IPA时,出现错误:“my company has one IOS Distribution certificate but the private key is not installed. Contact the author of this certificate for a copy of the private key。但实际上用于创建证书的计算机和用于上传ipa企业的计算机是同一台(在钥匙串已经存在)。

谁能帮我解决我的问题或任何建议?先谢谢大家了

是否app BitCode = NO,如果可以改成YES,还有一个选择Automatic manage signing,可以分发app成功

可能是 apple bug,还不确定。

解决方案是:

  1. 创建配置文件
  2. Link 带证书的个人资料
  3. 添加个人资料名称
  4. 通过手动签名和select您之前创建的配置文件重新上传您的应用程序(注意:该解决方案仍然无法使用自动模式)