Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not export identity from the keychain

While exporting Code signing identity from Xcode 5, Preferences->Accounts I get the error upon saving "Could not export identity from the keychain".

What can it be?

Edit:

The login.keychain is unlocked. The account of the profile I want to export is connected and also present in login.keychain.

Console.app output:

31/05/14 15:23:06,879 Xcode[489]: Error, Could not export identity from the keychain: The user name or passphrase you entered is not correct.
like image 914
Miroslav Kuťák Avatar asked May 26 '14 08:05

Miroslav Kuťák


People also ask

How do I export keychain passwords?

Click the Passwords icon, then enter the password you use to log in to your Mac. Click. and choose Export All Passwords, then click Export Passwords. Save the Passwords.

How do you export a private key on a Mac?

To export your private key and certificate, open the Keychain Access Application and select the "Keys" category. Control-click the private key associated with your iOS Distribution Certificate and click Export Items in the menu.


1 Answers

The solution is to lock the login keychain, so you can actually be prompted for the keychain password and then export it. If it's unlocked I just keep getting the error despite the password shall be correct - the keychain is unlocked, right?

So lock and export.

like image 51
Miroslav Kuťák Avatar answered Oct 19 '22 05:10

Miroslav Kuťák