Mac OS X wants to use system keychain when compiling the project
- Open Keychain Access.
- In the top-left corner, unlock the keychain (if it is locked).
- Choose the System keychain from the top-left corner.
- Find your distribution certificate and click the disclosure triangle.
- Double-click ‘Private key’ under your distribution certificate.
- In the popup, go to the Access Control tab.
- Select ‘Allow all applications to access this item’.
- Save the changes.
- Close all windows.
- Run the application.
Open Keychain Access
Click on System in left pane
Unlock the System keychain top left (if it is locked)
Sort the System items by Kind so that the keys are at the top
Look for the private key that keeps asking for password
Double click on it and choose Access Control
Choose "Allow all applications to access this item"
Save changes, lock the System keychain and quit the Keychain app
Restart the application that keeps asking to modify your keychain