Xcode8.1 安装ClangFormat 插件

安装 update_xcode_plugins 插件:

$gem install update_xcode_plugins

安装完毕执行如下命令

pdate_xcode_plugins --unsign

会列出Mac 系统中所有安装的xcode,通过小键盘的上下键进行选中将要进行取消签名的xcode版本(不会删除版本,会在/Application/目录下新建一个Xcode-unsigned.app的xcode程序 )。
注意一定要在之前使用过Xcode,否则有可能启动不了。重命名Xcode-unsigned.app为Xcode.app然后执行如下命令

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`

最后就是正常呢安装ClangFormat

git clone https://github.com/travisjeffery/ClangFormat-Xcode.git .

安装Alcatraz

curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh

或者

git clone https://github.com/alcatraz/Alcatraz.git .

安装VVDocumenter

git clone https://github.com/onevcat/VVDocumenter-Xcode.git .
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容