##Xcode必备插件管理器-Alcatraz
###1.==安装方法== ####最简单的方法:打开终端-> 复制命令如下 -> 重启Xcode
curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
####注意:代码复制完整, 重启Xcode后会有一个对话框,一定要选择Load Bundle,如果选择Skip Bundle,需要手动删除Alcatraz并且重新安装,解决方法如下: ###==2.如果选择Skip Bundle,如何手动删除Alcatraz插件 ####1.进入Xcode 插件的路径:(所有的插件都安装在该目录)
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
####进来可以看到所有已经安装的Xcode 插件安装包,可以直接手动删除已经安装的Alcatraz包
###重复步骤一,然后再次安装->Load Bundle->快捷键(cmd+shift+9)即可打开Alcatraz ,看到Xcode支持的大部分的插件了
###3.==如何使用Alcatraz== ####1.选中 Package Manager打开(Xcode中使用快捷键(cmd+shift+9))
###2.1快速安装Xcode插件 ####选中ALL,输入image,然后点击左侧的图标INSTALL即可安装。
###快速删除Xcode插件 ####选中INSTALLED,搜索VVDocumenter-Xcode,下图是已经安装Installed状态,可以REMOVE删除
####2.2 最后重启Xcode完成。
####删除Alcatraz ####如果你不想使用 Alcatraz 了,可以使用如下命令来删除:
####>1. 注意分开: rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
####>2.注意分开: rm -rf ~/Library/Application\ Support/Alcatraz
--- 我是优美的分割线
Alcatraz is an open-source package manager for Xcode 5+. It lets you discover and install plugins, templates and color schemes without the need for manually cloning or copying files. It installs itself as a part of Xcode and it feels like home.
To install, open up your terminal and paste this:
curl -fsSL https://raw.github.com/alcatraz/Alcatraz/master/Scripts/install.sh | sh
or download the repository from Github and build it in Xcode. You'll need to restart Xcode after the installation.
Alcatraz requires Xcode Command Line Tools, which can be installed in Xcode via Preferences > Downloads
.
Alcatraz for Xcode only supports OS X 10.9+.
Select Package Manager
from the Window
menu, then check or uncheck packages to install or remove them. You'll need to restart Xcode after installing plugins or templates. Installed plugins are checked and updated each time Alcatraz is launched.
Fork the Alcatraz package repository and include your package with name
, description
, URL
, and optional screenshot
. Don't forget to submit a pull request. Further instructions are included in the package repository documentation.
Alcatraz has a few contribution guidelines, for anyone looking to make it more awesome.
If "nothing" happens when installing packages, try the following self-help steps:
- Verify which copy (if more than one are installed) of git is being run (
which git
). - Make sure you're running a recent version of git (
git --version
). - If you've used Xcode developer preview releases in the past, make certain Xcode isn't stuck using an inappropriate developer path by resetting it (
sudo xcode-select --reset
).
Open up your terminal and paste this:
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
To remove all packages installed via Alcatraz, run rm -rf ~/Library/Application\ Support/Alcatraz/
Marin Usalj (@supermarin)
Delisa Mason (@kattrali)
Jurre Stender (@jurre)