Xcode插件管理器Alcatraz
Alcatraz是OSX 10.9 and Xcode5之后才能使用的一個插件管理器, 主要是用來管理Xcode中強大的插件系統(tǒng).
安裝和刪除
一:直接到github網(wǎng)站下載插件
(https://github.com/alcatraz/Alcatraz)
下載完成后啟動工程, 然后點擊運行, 出現(xiàn)下面的框選擇Load Bundle
二:終端安裝
啟動終端
1.安裝指令
mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins;
curl -L http://git.io/lOQWeA | tar xvz -C ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins
Alicatraz安裝成功可以在Window中查看到Package Manager
2.刪除指令
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
rm -rf ~/Library/Application\ Support/Alcatraz
插件安裝位置
Xcode 所有的插件都安裝在目錄
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
刪除路徑:
Finder->前往->前往文件夾->復制目錄路徑->回車 就OK了
使用
打開Package Manager, 在搜索處輸入你需要的插件, 點擊INSTTALL即可, 插件安裝過程中最好別做其他操作, 否則有可能導致安裝不成功.
通過Alcatraz可以刪除已安裝的插件
插件使用
安裝完插件后完全退出Xcode, 再次重啟Xcode彈出選擇框選擇Load Bundle即可運行插件
幾個常用的插件
以下插件可以直接在Alcatraz上搜索
1.XCode顏色顯示插件ColorSense
下載地址: https://github.com/omz/ColorSense-for-Xcode
2.大段文本利器HOStringSense
下載地址:https://github.com/holtwick/HOStringSense-for-Xcode
3.規(guī)范注釋生成器VVDocumenter
下載地址:https://github.com/onevcat/VVDocumenter-Xcode
4. KSImageNamed-Xcode
下載地址: https://github.com/ksuther/KSImageNamed-Xcode