2个同名的iOS开发人员证书 [英] 2 iOS developer certificates with same names

查看:119
本文介绍了2个同名的iOS开发人员证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们这里有一个小问题,希望大家能帮帮我!

we have a little Problem here and I hope you guys can help me out!

情况:
我们已经报名在Apples Developer Program中(用于在App Store中分发App)。自上周以来,我们还注册了企业计划(用于内部应用分发)。

Situation: We are enrolled in Apples Developer Program (for distributing Apps in the App Store). Since last week we're also enrolled in the Enterprise Program (for in-house App distribution).

问题:
我们着手开发和构建应用程序。但是我们不知道我们必须为不同的程序使用两个不同的开发人员证书。现在,我们有2个具有相同名称的证书,并且每次我们要构建应用程序时,XCode都会生成一条错误消息,提示证书无法准确分配。

Problem: We proceeded with the development and building of the Apps. But we didn't knew that we have to use two different developer certificates for the different Programs. We have now 2 certificates with the same name and XCode is producing an error message each time we want to build the app saying "the certificate cannot be assigned exactly".

问题:
我们如何更改其中一个开发人员证书的名称?

Question: How do we change the name of one of the developer certificates?

非常感谢您的提前帮助!!!

Many thanks for your help in advance!!!

推荐答案

您已经具有默认的登录钥匙串,因此可以在登录钥匙串中添加一个证书。然后使用不同的名称创建新的安全型钥匙串,并将第二个证书添加到该钥匙串中。现在,在Xcode目标设置中,找到要用于目标的钥匙串证书路径,然后选择适当的钥匙串路径。

You already have default login keychain So you can add one certificate in login keychain. And then create new saperate keychain with different name and add your second certificate to that keychain. Now in your Xcode target setting find keychain certificate path to be used for target and choose appropriate keychain path.

例如对于一个证书路径......... / login /.....

e.g. For one certificate path ........./login/.....

对于另一个证书,将路径更改为.......。 / mynewkeychain /......

For another certificate change path to ......../mynewkeychain/......

这篇关于2个同名的iOS开发人员证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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