问题
I can't sign apps on macOS 10.12.4 when I trying to run a project on xcode I get
error: The specified item could not be found in the keychain.
clearing keychain not fixing anything
can you help please ?
回答1:
I ran into the same problem. In my case the cause was a VPN auth token (SafeNet) that I had plugged into a USB port. When I removed it, suddenly the code signing worked again.
It seems that the code signing process had some trouble (timeout?) accessing the keychain. So the hint is: remove or kill everything (hardware, software, apps) that could interfere with keychain access.
I know that this answer does not cover all the cases for this error, but one of them for sure ;)
来源:https://stackoverflow.com/questions/43620437/xcode-8-3-error-the-specified-item-could-not-be-found-in-the-keychain