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:36

I have the same problem, and a reboot prevents it from opening the dialog.

查看更多
家丑人穷心不美
3楼-- · 2020-05-11 00:37

Solve this problem by doing this.

  1. Enter your Mac Login Password and Choose "Always Allow"

  2. One or More dialogs opened and positioned in the same dialog, repeat step 1 until all dialogs closed. (So you thought your password wrong but repeat "Always Allow" with your Mac login password tricky part :) )

Hope it will work.

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

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.

查看更多
小情绪 Triste *
5楼-- · 2020-05-11 00:39

For me, I realized one of the dialogs was opened in another workspace. Once I discovered that and input my password there it went through.

查看更多
倾城 Initia
6楼-- · 2020-05-11 00:41

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.
查看更多
霸刀☆藐视天下
7楼-- · 2020-05-11 00:43

I pressed Deny by mistake and I was stuck, no way to code sign any Pods.

This is how I solved the problem:

  • Open the keychain
  • look for the key com.apple.gs.xcode.auth.com.apple.account.AppleIDAuthentication.token
  • open it
  • click on the Access Control tab
  • at the bottom there's Always allow access for these applications: -> add Xcode in the list
  • Don't forget to press Save Changes

enter image description here

查看更多
登录 后发表回答