coocs2d-iphone 安装错误 Installation failed!

在最新安装cocos2d-iphone v3.1.1的时候,每次执行总会执行失败:
Installation failed!
Please, send an email containing your error.log on the support email (written in the --help).
It would make it easier for us to improve this script and fix the issues immediately.


Your error log is located at: /Users/saa/Desktop/cocos2d-install.log


解决办法:
前往:/Users/saa/Library/Developer/Xcode/Templates/
在目录下面创建2个文件夹:
cocos2d v3.x
File Templates
然后执行 : ./install.sh --force
 mac-guo:cocos2d-iphone saa$ ./install.sh --force

Cocos2D Template Installer (Cocos2D-v3.0.0)

Removing old project template files: /Users/saa/Library/Developer/Xcode/Templates/cocos2d v3.x 
rm: /Users/saa/Library/Developer/Xcode/Templates/cocos2d v3.x: Permission denied

>>> Installing project templates
...copying cocos2d files 
...copying cocos2d-ui files 
...copying Chipmunk files 
...copying ObjectAL files 
...copying kazmath files 
...copying CCBReader files 
...copying Xcode template files 

>>> Installing file templates
...copying CCNode file templates 

创建成功。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值