[置顶] Xcode插件之Alcatraz

安装命令:

curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh

卸载:

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

正确安装:

mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins

curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh


安装成功后重启Xcode,就可以在Xcode的顶部window菜单中找到Package manager表示成功了。

点击“Package Manager”,即可启动插件列表页面进行下载

解决升级失效方法:

1、获取UUID: defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

2、

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add 7265231C-39B4-402C-89E1-16167C4CC990

3、

defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.1,(这里是xcode的版本号)

4、打开Xcode后选择第一个选项LoadXXX

你可能感兴趣的:([置顶] Xcode插件之Alcatraz)