下载好cocos2d-x-2.1.4,然后在./install-templates-xcode.sh -u -f 会发现就安装好了cocos2dx的模板 转载于:https://blog.51cto.com/dingxiaowei/1366172