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

keychainxcode

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?

Best Answer

  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.