Xcode7 管理工具 Alcatraz

来源:互联网 发布:万影数据 编辑:程序博客网 时间:2024/06/06 02:46
Xcode 管理工具 Alcatraz

第一步:关闭 Xcode。

第二步:如果你之前安装过Alcatraz,卸载它。打开终端,运行命令:

rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin

(注明:关于Alcatraz里面后期安装的插件都会在 ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins目录下,可点击mac的前往,到此处查看)


第三步:最关键的一步,运行下面两条命令:
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add defaultsread /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
sudo xcode-select --reset

第四步:安装 Alcatraz。
curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh

安装过程中,可能会失败,需要翻墙,请自行下载Lantern for mac(蓝灯)mac版的蓝灯无需配置,安装即可使用,访问facebook或google等都行啦

安装成功的提示:



第五步:重新Xcode。

打开之后,会弹窗如下图所示,选择load bunble。


点击Xcode上方的Window,如下图:


可以看到Package Manager,就是刚刚安装的 Alcatraz。

0 0
原创粉丝点击