属于两个团队的Apple ID帐户获得了“您的帐户已经具有有效的iOS发行证书”。 [英] Apple id account belonging to two teams getting "Your account already has a valid iOS Distribution certificate"

查看:194
本文介绍了属于两个团队的Apple ID帐户获得了“您的帐户已经具有有效的iOS发行证书”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设:这不应是。这让我发疯:-)...



当我选择使用本地签名资产时也会发生同样的情况。



解决方案

您可以尝试转到 XCode->首选项->帐户找到您的AppleID 查看详细信息,然后尝试刷新证书列表。



如果没有带证书,则请转到可能的证书颁发机构。第一次请求证书,并将该帐户的身份导出为p12证书,然后安装在您的计算机上。


Assumption: this should not be a duplicate question of this, but however is somehow related.


I got an apple id associated to two different teams and I get the following error:

This Q/A is not useful for me because it relates to having 2 different app ids. I cannot be removed from one of the two teams and I am pretty sure that there must be a way to be able to fix this.

I tried exporting/importing and recreating the developer profile but none of these options helps.

I incur in this error when I choose Product->Archive and set my code signing identity to iOS Distribution.

I created the iOS Distribution profile and installed it locally.. however the build error say that:

Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID "xxxxxxxxxxxxxx" were found. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.3'


EDIT: I managed to build the product for archive and then I tried to go on XCode->Archives and selected "submit to app store" as well as "export" and Save for Ad Hoc Deployment. But in both cases I get the error shown below:

A colleague was telling me that the only way to solve this problems is sometimes to delete all the key/certificates in the keychain and recreate them all. However I don't really want to go down this route as I got several and it would be a pain (spending then days to reconfigure all the other XCode projects I got...).

I have made sure that I recreated and re-imported the developer and distribution profile for this test.

The purpose is to create a build that I can submit to iTunes connect and then distribute via TestFlight. The iTunes connect record exists and I am following the apple guide on this. This is driving me crazy :-)...

Same happens when I choose "use local signing assets".

解决方案

You can try going to XCode->Preferences->Accounts locate your AppleID View details on the lower right and try to refresh the list of certificates.

If that doesn't bring the certificate you need then if possible go to the machine where the certificate was requested the first time around and export the identity of that account as a p12 certificate and then installed on your machine.

这篇关于属于两个团队的Apple ID帐户获得了“您的帐户已经具有有效的iOS发行证书”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆