I\'m trying to learn to load apps on my iPhone from Xcode. When I do I keep getting \"Codesign wants to access key \"access\" in your keychain, I put I my login password but i
For me, the problem was caps lock. and it seems it may ask you a couple of times to input your password or you will have to enter a password once and press always allow.
I clicked the "Deny" button, and the keychain was off.
I locked the keychain:
And then I entered the login keychain again.
As of August 31, 2018.
Resolving:
1. Search Keychain Access
2. [KEYCHAIN] Login | [CATEGORY] Passwords
3. Look for you email address and double click. <it might not be necessary but just try this>
4. [ACCESS CONTROL] choose "allow all application to access this item".
5. Rebuild to your phone. If you have error choose a virtual device and build (to reset the build objects). Then choose to rebuild to your phone again.
Following worked for me!
Restart Xcode and try to build again. It will ask you again but with the additional option to "Always allow. Enter your macOS user password as password and press "Always allow".
Let me know if it worked for you.
I have had the same problem. I had more than one Xcode window open, closing all other open windows leaving only the current one open solved the problem for me.
I encountered this running a brand new project. Neither the Allow or Always Allow button seemed to work, however it wasn't giving me the 'incorrect password' shaking feedback. What was happening was that there were multiple dialog boxes all in the same position, so as I entered a password and clicked Allow nothing changed visually. I ended up having at least 3 dialogs all stacked up on each other, which I only discovered when I tried dragging the dialog. Entering passwords into each of them let my project finish building.