go-delve / homebrew-delve

Homebrew formula for the Delve Go debugger
Apache License 2.0
48 stars 13 forks source link

dlv-cert: no identity found #1

Closed patrickbrown-dev closed 6 years ago

patrickbrown-dev commented 8 years ago

Hey there! I'm getting this error when trying to install delve from homebrew.

~ $ brew install go-delve/delve/delve
==> Installing delve from go-delve/delve
==> Downloading https://github.com/derekparker/delve/archive/v0.11.0-alpha.tar.g
Already downloaded: /Users/patrickbrown/Library/Caches/Homebrew/delve-0.11.0.tar.gz
==> dlv-cert is already installed, no need to create it
==> make build BUILD_SHA=v0.11.0
Last 15 lines from /Users/patrickbrown/Library/Logs/Homebrew/delve/01.make:
2016-08-12 16:34:14 -0700

make
build
BUILD_SHA=v0.11.0

go build -ldflags="-s -X main.Build=v0.11.0" github.com/derekparker/delve/cmd/dlv
codesign -s dlv-cert ./dlv
dlv-cert: no identity found
make: *** [build] Error 1

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/go-delve/homebrew-delve/issues

image

aarzilli commented 8 years ago

cc @steeve

steeve commented 8 years ago

@ptrckbrwn can you try and delete the dlv-cert from your Keychain? Then try again

jgoodall commented 7 years ago

I had the same project and removing the dlv-cert from the Keychain solved it.