删除之前安装的Alcatraz
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
重新安装Alcatraz
curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
获取当前UUID
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
#例如`ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C
把当前UUID加入Info.plist文件(以Xvim为例)
cd ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents
#打开Info.plist,并找到UUID array,把上面得到的`ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C`加入
保存,重启xcode
提示load bundle or skip
时,选择load bundle
安装Alcatraz
遇到mktemp
错误的解决办法
wget https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh
#打开 install.sh,找到第10行,修改如下
TMP_FILE="$(/usr/bin/mktemp -t ${BUNDLE_ID})"
保存,并赋予可执行权限,运行.