Xcode插件管理器Alcatraz
Alcatraz是OSX 10.9 and Xcode5之后才能使用的一个插件管理器, 主要是用来管理Xcode中强大的插件系统.
安装和删除
一:直接到github网站下载插件
(https://github.com/alcatraz/Alcatraz)
下载完成后启动工程, 然后点击运行, 出现下面的框选择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.规范注释生成器VVDocumenter
下载地址:https://github.com/onevcat/VVDocumenter-Xcode
4. KSImageNamed-Xcode
下载地址: https://github.com/ksuther/KSImageNamed-Xcode