Codesign wants to access key “access” in your keychain, I put in my login password but keeps asking me

前端 未结 21 2420
余生分开走
余生分开走 2021-01-29 18:00

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

相关标签:
21条回答
  • 2021-01-29 18:32

    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.

    0 讨论(0)
  • 2021-01-29 18:34

    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.

    0 讨论(0)
  • 2021-01-29 18:37

    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.
    
    0 讨论(0)
  • 2021-01-29 18:38

    Following worked for me!

    1. open keychain-management on your Mac
    2. select "login" on the left pane
    3. look for the key which is causing this issue. Mine was iOS Developer...
    4. double-click the key and select "Allow access to all programs" in the access column

    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.

    0 讨论(0)
  • 2021-01-29 18:39

    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.

    0 讨论(0)
  • 2021-01-29 18:40

    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.

    0 讨论(0)
提交回复
热议问题