Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

2 iOS developer certificates with same names

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

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).

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!!!

like image 800
Sebastian Pflug Avatar asked Jun 26 '12 07:06

Sebastian Pflug


People also ask

How many iOS Development certificates can I have?

There is a maximum limit of 3 iOS Distribution Certificates per account.

Can two apps have the same name iOS?

Two iOS apps currently can not have the same App store name (as entered in iTunes Connect), nor the same bundle ID suffix. They can, however, have the same name under the icon (the Bundle Display Name as entered in the app's plist).

Can 2 apps have the same name App Store?

Show activity on this post. No, the name of your app as it appears in the App Store must be unique. When creating your app, you will receive the following error if you try to use a name that is already taken: The Application Name that you provided has already been used.

How many certificates can create in Apple Developer account?

Hi, We are developing Enterprise applications and we believe our client has reached their limit of two developer certificates. The developer portal has the following text greyed out. Sign your iOS app for In-House or for Ad Hoc distribution.


2 Answers

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.

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

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

like image 177
Dhaval Panchal Avatar answered Sep 21 '22 15:09

Dhaval Panchal


I feel your pain, as I have been in the same situation before. You can't easily change the certificates' names. Apple usually does not allow that. Dhawal's answer is correct, in that you will have to put your certificates into different keychains.

If you want to script your build process, you have to unlock and lock the appropriate keychains security unlock-keychain before you call xcodebuild. So that only the one certificate you want to sign with is accessible.

There are two very good projects that make managing the keychains and building a lot easier:

  • Openbakery's Gradle Xcode Plugin
  • rayh's xcoder for use with rake
like image 38
orkoden Avatar answered Sep 23 '22 15:09

orkoden