mac上 go-delve 安裝出現The specified item could not be found in the keychain 解決方法

安裝go語言的編譯環境,在安裝到 delve時候出現以下錯誤:git

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/go-delve/homebrew-delve/issues

These open issues may also help:
Upgrade to delve fails https://github.com/go-delve/homebrew-delve/issues/20
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. https://github.com/go-delve/homebrew-delve/issues/19
Mac install error, OS version 10.12.6, go version go1.8.3 https://github.com/go-delve/homebrew-delve/issues/17
The specified item could not be found in the keychain https://github.com/go-delve/homebrew-delve/issues/16
Issue updating to 0.12.2 https://github.com/go-delve/homebrew-delve/issues/12
dlv-cert: no identity found https://github.com/go-delve/homebrew-delve/issues/1
Executable does not get installed on MacOS https://github.com/go-delve/homebrew-delve/issues/18
deps: do not install go if it's available on the system https://github.com/go-delve/homebrew-delve/issues/9

 解決方法:github

1. cd $HOME/Library/Caches/Homebrewbash

2. 執行 tar xf delve-*.gzide

3 cd 到解壓以後的文件夾路徑中 (個人是 delve-1.0.0-rc.1 )this

4. 執行 sh scripts/gencert.shspa

5. 最後在從新 執行 brew install go-delve/delve/delvecode

一切搞定。安裝成功blog

相關文章
相關標籤/搜索