Alcatraz是一個Xcode的開源包管理工具。能夠用來發現並安裝Xcode的插件、模版以及顏色主題。就像Xcode原生工具同樣,使用起來很是的方便。git
安裝方法能夠參考官網:github
http://alcatraz.io/segmentfault
關閉Xcodecurl
在Terminal裏鍵入:工具
mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins; curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
運行Xcodeurl
若是彈出對話框詢問是否Load Alcatraz,點擊Load Alcatrazspa
在Xcode的窗體菜單欄裏點擊Window, 而後選擇Package Manager:插件
會彈出以下窗體,就是Alcatraz了:code
在Terminal裏鍵入:圖片
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin rm -rf ~/Library/Application\ Support/Alcatraz
插件都安裝在下面的路徑下:
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
每個插件都是一個子目錄。
這個Library文件夾是在當前的用戶名文件夾的根目錄下,默認是隱藏的。若是想顯示隱藏的文件,能夠參考這裏:Mac OSX 下如何顯示隱藏文件。或者能夠點擊系統菜單的 Go -> Go to Folder,快捷鍵Command + Shift + g
,直接輸入上面的路徑,敲回車便可。
Alcatraz每次升級可能都須要從新配置。