Codesign wants to access key “access” in your keyc

2020-05-10 23:44发布

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 it keeps popping up over and over. I've tried my computer login so many times, apple account password, and many others.

enter image description here

19条回答
混吃等死
2楼-- · 2020-05-11 00:29

I clicked the "Deny" button, and the keychain was off.

I locked the keychain:

enter image description here

And then I entered the login keychain again.

查看更多
地球回转人心会变
3楼-- · 2020-05-11 00:29

Enter the password you use to open you Mac session and click on "Always allow" until all alerts are closed. The other buttons do not work...

查看更多
Animai°情兽
4楼-- · 2020-05-11 00:32

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.

查看更多
一夜七次
5楼-- · 2020-05-11 00:32

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.

查看更多
The star\"
6楼-- · 2020-05-11 00:34

2019: I had to enter the password like 40 times... must be a bug... but it worked

查看更多
老娘就宠你
7楼-- · 2020-05-11 00:34

Okay Guys, after literally 2,5 hours of trying to fix that error I managed to find a solution that worked on my two Mac Machines. These are the steps I did:

  1. Open Xcode -> Preferences
  2. Go to the Accounts Tab
  3. Click the button on the bottom right telling 'Manage certificates'
  4. Look for the name of the certificate
  5. Open the keychain manager
  6. Select in the menu the Sign-In tab
  7. Do a right-click and then delete on the certificate that was named in the Xcode settings page before
  8. Go back into Xcode and see Xcode creating a new certificate(The window will be empty for a couple of seconds and then there will a new certificate lighten up.
  9. Rerun your app

I hope that could help you guys. It helped me a lot! :)

Liam

查看更多
登录 后发表回答