【发布时间】:2016-02-02 20:13:26
【问题描述】:
我的 mac 版本是 El Capitan 10.11.2。
我用macports安装了gdb(其实是ggdb)。信息如下:(我之前已经安装了gdb,这样做是因为我只是确保我安装了gdb。)
$ sudo port install gdb
---> Computing dependencies for gdb
---> Cleaning gdb
---> Scanning binaries for linking errors
---> No broken files found.
我已经创建了我的 gdb 密钥证书,命名为 ggdb。但是当我尝试使用终端通过键入以下命令来对我的 ggdb 证书进行代码签名时:
codesign -s ggdb /opt/local/bin/ggdb
出了点问题!!无论我是否退出taskgated,错误仍然显示如下:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: can't create output file: /opt/local/bin/ggdb.cstemp (Permission denied)
/opt/local/bin/ggdb: the codesign_allocate helper tool cannot be found or used
【问题讨论】:
标签: macos gdb macports codesign