Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Two AppStore Accounts With The Same Name. I got codeSign error 'Name' appears more than once in the keychain

I got another new account for the AppStore, I setup the new account certificates on my MAC. Now when I try to publish XCode gives me the error

CodeSign error: Certificate identity 'iPhone Distribution: 'Name' appears more than once in the keychain. The codesign tool requires there only be one.

How can I change my certificate identity for the other account? While I have to leave my Name as it is on both itunes profiles. How can avoid this problem without have to remove one certificate each time I need to publish app on appstore.

Thank you.

like image 748
iTarek Avatar asked May 04 '10 03:05

iTarek


2 Answers

Look in the keychain app on your Mac. You may have expired entries as well as current entries. Delete the expired entries and you will be okay. Worked for me today.

like image 82
iRick Avatar answered Nov 15 '22 17:11

iRick


I create a keychain for each team, and put all the related files (public key, private key, certificate) for the team in the keychain. The only downside is that you have to set your default keychain to the team keychain when building for a device.

like image 36
drawnonward Avatar answered Nov 15 '22 16:11

drawnonward