Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac OS X wants to use system keychain when compiling the project

Tags:

xcode

keychain

I am asked to type in the system admin user name and password when I compile my Xcode project. The whole message is

Mac OS X wants to make changes. Type an administrator's name and password to allow this. Mac OS X wants to use system keychain.

Does anyone have a solution for this?

like image 783
Singh Avatar asked Apr 18 '12 06:04

Singh


People also ask

Why does my Mac keep asking for keychain?

Your keychain may be locked automatically if your computer has been inactive for a period of time or your user password and keychain password are out of sync.

What does it mean when Mac asks for keychain password?

A keychain password is the master password for your Mac's "Keychain Access" app, which stores your login information for websites and accounts across the internet. When you attempt to log into one of these websites, your Mac might ask you for the keychain password, in order to retrieve your login information.


2 Answers

  1. Open Keychain Access.
  2. In the top-left corner, unlock the keychain (if it is locked).
  3. Choose the System keychain from the top-left corner.
  4. Find your distribution certificate and click the disclosure triangle.
  5. Double-click ‘Private key’ under your distribution certificate.
  6. In the popup, go to the Access Control tab.
  7. Select ‘Allow all applications to access this item’.
  8. Save the changes.
  9. Close all windows.
  10. Run the application.
like image 95
PVCS Avatar answered Oct 15 '22 08:10

PVCS


The problem is with the Developer Certificate on Keychain which is under "System", on the left hand panel, which is always locked and requiring my password to unlock!

So just move the Developer Certificate to "login", which is always unlocked. Now your problem gets solved.

like image 37
smit shah Avatar answered Oct 15 '22 10:10

smit shah