安装Xcode插件包管理器Alcatraz报错解决办法

Alcatraz是Xcode的包管理器,提供了很多插件,色彩样式和模板,如果通过brew安装了coreutils包,使用官方的安装脚本运行时会报错,一个简单的解决办法是把install.sh脚本的第10行mktemp改成/usr/bin/mktemp ,然后运行就可以正常安装了。错误如下:

curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
mktemp: too few X’s in template ‘com.mneorr.Alcatraz’

Contents
,