最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]打包企业版ipa导出时出错:Your account already has a valid iOS Distribution certificate

iOS crifan 3816浏览 0评论

折腾:

[记录]尝试用Team Admin的权限的Apple ID去打包企业版ipa文件

期间,遇到错误:

Your account already has a valid iOS Distribution certificate

难道是:

Member Center中,

加入了team后,自动出现的(别人创建的)

Certificate

Name:Qoros Automotive Co., Ltd.
Type:iOS Distribution
Expires:Sep 27, 2018

-》是不是自己下载下来,然后Xcode此处去导入,即可?

-》好像不全是:

好像是需要一个有效的Provisioning Profile

-》PP文件

-》PP文件,依赖于:证书certificate,加上其它东西

-》而此处需要先去下载已有的,导入到本机Mac,成为可用的,有效的证书

然后再考虑其他的

先去把证书下载到本地:

双击用:

钥匙串

打开后,但是看不到:

搜:

Your account already has a valid iOS Distribution certificate

enterprise Your account already has a valid iOS Distribution certificate

your account already has a valid ios distribution certificate解决

使用Xcode6.1.1打包出现Your account already has a valid iOS Distribution certificate问题 – 小、 – 博客园

XCode 6 archive后export 失败 “Your account already has a valid iOS distribution certificate" – 不怕梦想跌倒,就怕没有梦想 – 博客频道 – CSDN.NET

iOS 发布提交出现:Your account already has a valid iOS Distribution certificate!问题解决 – 简书

Technical Note TN2407: iOS Code Signing Troubleshooting Index

Other Errors

It’s not always possible to infer the subject of all error messages. Check the following list of these types of general errors: 

Your account already has a valid iOS distribution certificate

This error primarily indicates that your development Mac is missing the distribution certificate and/or its private key. As a result, Xcode is attempting to generate a new distribution certificate / private key pair on your behalf, however, failed to do so because your team already has the maximum number of concurrently allowable distribution certificates. 

Use one of the following options to resolve this error: 

先去导入看看:

结果无法选择.cer的证书:

-》还是要求对应的PP文件

算了,自己去创建一个试试

导入看看:

结果也无法导入:

Apple Developer Enterprise Program – Apple Developer

不行。

Technical Note TN2407: iOS Code Signing Troubleshooting Index

“Enabling code signing on your other Macs

To enable code signing on your other Macs, OS X user accounts or partitions, use Xcode to export and import your code signing assets using the steps in:

• App Distribution Guide > Maintaining Your Signing Identities and Certificates > Exporting and Importing Certificates and Profiles

Back to Top”

Exporting and Importing Certificates and Profiles

-》有点点明白了:

上述出错时,要导入的,估计是:

Developer Profile文件==后缀是.developerprofile的文件

文件,其中内部包含了相关的信息:

  • Development certificates
  • Distribution certificates
  • Provisioning profiles

-》

是从你自己的,之前的别的Mac中的Xcode中导出来的

-》此处的,相关的证书,不是我自己的,而是别人的

-》所以之前就不敢随便的去reset

 那就去看看另外的办法:

Maintaining Your Signing Identities and Certificates

算了,重新用之前的profile,重新弄到刚才出错的界面,

然后选择reset去试试

后面的折腾详见:

[已解决]Xcode打包InHouse的app时出错然后重置证书时出错:Permissions failure Your account does not have permission to revoke iOS Enterprise Distribution certificates

尤其是:

[记录]重新生成自己账号的证书后再去尝试打包企业版app

[总结]用Xcode去打包发布企业版iOS的app的详细过程

转载请注明:在路上 » [已解决]打包企业版ipa导出时出错:Your account already has a valid iOS Distribution certificate

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.159 seconds, using 22.13MB memory