安裝 update_xcode_plugins 插件:
$gem install update_xcode_plugins
安裝完畢執(zhí)行如下命令
pdate_xcode_plugins --unsign
會(huì)列出Mac 系統(tǒng)中所有安裝的xcode切距,通過(guò)小鍵盤(pán)的上下鍵進(jìn)行選中將要進(jìn)行取消簽名的xcode版本(不會(huì)刪除版本锈遥,會(huì)在/Application/目錄下新建一個(gè)Xcode-unsigned.app的xcode程序 )。
注意一定要在之前使用過(guò)Xcode锋玲,否則有可能啟動(dòng)不了。重命名Xcode-unsigned.app為Xcode.app然后執(zhí)行如下命令
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 .