Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

code sign wants to sign using key - Doesn't allow or always allow but deny works

I'm trying to build and archive the application. After compiling, an alert window appears requesting the "codesign wants to sign using key "my account Name" in your keychain" and the buttons Always Allow, Deny and Allow, when i press Always allow or allow, nothing happens, only deny works.

I enabled the "Allow all applications to access this item" in private key info but it didn't worked for me.

I'm using VNC remote Mac (El Capitan) and Xcode 7.2 .I'm not using any third party utilities and i did not install any mouse related apps.

I have tried below links

Having issue with allowing codesign to use my keychain

https://forums.developer.apple.com/thread/25092

https://apple.stackexchange.com/questions/212622/keychain-wont-let-copy-passwords-after-10-11-1-update

I'd like know reason behind this issue and how can i resolve it ?

enter image description here

like image 388
iReddy Avatar asked Feb 24 '16 02:02

iReddy


People also ask

How do I always allow Keychain Access on my Mac?

You can set a length of time that Keychain Access waits before automatically requiring you to enter your password again. In the Keychain Access app on your Mac, click “login” in the Keychains list. Choose Edit > Change Settings for Keychain “login”. Select the “Lock after” tickbox, then enter a number of minutes.

What is an access key Apple?

Keychain Access is a macOS app that stores your passwords and account information, and reduces the number of passwords you have to remember and manage.

What is macOS wants to use the system keychain?

Your Mac keeps asking for the login keychain password and this means The password of your macOS user account might not match the password of your login keychain. It might also tell you that the system was unable to unlock your login keychain. That's because your login keychain is still using another password.


2 Answers

Had the same problem, tried many things and it felt like total voodoo. One of these two eventually solved the problem for me:

  • Got rid of all expired/revoked certificates in my Keychain Access.
  • Locked my login keychain in Keychain Access (it then prompted me for password for unlocking.)

Hope this helps anybody!

like image 180
gilm Avatar answered Sep 30 '22 07:09

gilm


Enter your mac user password and hit Always Allow.

like image 36
laxman khanal Avatar answered Sep 30 '22 07:09

laxman khanal