报错:install-templates-xcode.sh:没有权限
在安装文件夹下写下面的代码就可以解决
chmod 777 install-templates-xcode.sh
之后重新安装就好:./install-templates-xcode.sh