Chisel简介
Github地址:Chisel
Chisel是帮助iOS开发者更方便的调试应用的拓展工具, Chisel 使用 homebrew 来安装,如果你没有安装homebrew,请先安装好homebrew。
安装Chisel
//在终端安装
brew update
brew install chisel
安装完成之后又如下信息:
==> Downloading https://github.com/facebook/chisel/archive/1.3.0.tar.gz
==> Downloading from https://codeload.github.com/facebook/chisel/tar.gz/1.3.0
######################################################################## 100.0%
==> Caveats
Add the following line to ~/.lldbinit to load chisel when Xcode launches:
command script import /usr/local/opt/chisel/libexec/fblldb.py
==> Summary
🍺 /usr/local/Cellar/chisel/1.3.0: 21 files, 136K, built in 7 seconds ```
注意看Caveats下面的那两行,意思是把第二行的文字command script import /usr/local/opt/chisel/libexec/fblldb.py添加到.lldbinit文件中,这时执行命令**echo command script import /usr/local/opt/chisel/libexec/fblldb.py >> ~/.lldbinit**(粗体文字替换为你终端Caveats下面的第二行文字)可免去你去找.lldbinit文件,或者.lldbinit文件不出现的烦恼啊。到此步不出意外已经安装成功。
安装完成之后重新启动Xcode ,并且在Xocde中打个断点在控制台中输入 (lldb) help 成功则输出以下信息:
![Snip20170622_1.png](https://img.haomeiwen.com/i1279084/2ba259ccd2286ab9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
网友评论