当前位置:首页 > 操作系统 > MacOs

Mac 创建证书(以 创建gdb证书 为例 )

First, we‘ll restart the taskgatedprocess to make sure it picks up the new certificate. Quit Keychain Access (you must quit Keychain Access!) and return to the Terminal for these final commands.

Find the taskgated process.

ps -e grep taskgated
Mac 创建证书(以 创建gdb证书 为例  ) - 文章图片
 

The first number in the above output is the PID. Use this to kill the process (it will immediately restart itself).

Now you can finally code sign GDB.

# Homebrew version
$ codesign -s gdb-cert $(which gdb)
  Mac 创建证书(以 创建gdb证书 为例  ) - 文章图片

Now you should be all set! The OS X Keychain may ask for your password the first time you attempt to debug a program, but it should work!

 

Mac 创建证书(以 创建gdb证书 为例 )

标签:es2017   iat   rest   set   nta   dia   default   UI   restart   

本文系统来源:http://www.cnblogs.com/SZxiaochun/p/7747989.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐