当前位置:Gxlcms > 数据库问题 > Mac 创建证书(以 创建gdb证书 为例 )

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

时间:2021-07-01 10:21:17 帮助过:22人阅读

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
技术分享
 

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)
  技术分享

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   

人气教程排行