Xcode 插件管理工具Alcatraz

来源:互联网 发布:松江3208中文编程软件 编辑:程序博客网 时间:2024/05/16 08:46

更新到Xcode7之后,很多插件不能使用,包括最好用的Alcatraz管理工具都掉链子了。。。
来来来,解决问题:


方法一:
第一步:先关闭Xcode。


第二步:卸载之前安装的Alcatraz。在终端中输入命令:
rm -rf ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin

第三步:最关键的一步,运行命令:
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUIDsudo xcode-select --reset

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

第五步:启动Xcode。

方法二:
通过github下载Alcatraz,并command +r运行,完成后command+q退出XCode重启。


Alcatraz官方地址:http://alcatraz.io
github下载地址:https://github.com/alcatraz/Alcatraz

0 0
原创粉丝点击