我一直在尝试在我的环境中安装delve.但是,钻孔无法启动,我无法解决这个问题.
操作系统:OSX Yosemite 10.10.4
达尔文内核版本14.4.0
$GOPATH/bin/dlv debug main.go
could not launch process: could not fork/exec
Run Code Online (Sandbox Code Playgroud)
https://github.com/derekparker/delve/wiki/Building
我安装了以下上面提到的步骤URL.安装成功并且以root用户正确启动.除root用户外,Delve返回错误.
1)我已经创建了认证和签名申请
2)我在make命令之前杀死了taskgated,但它在make之后再次启动.
3)如果我重命名这些文件,则此命令会失败./System/Library/LaunchDaemons/com.apple.taskgated-helper.plist /System/Library/LaunchDaemons/com.apple.taskgated.plist
codesign -s "dlv-cert" /Users/murotanimari/work/bin/dlv
error: One or more parameters passed to a function were not valid.
Run Code Online (Sandbox Code Playgroud)