我在谷歌上搜索了在 Xcode 6 中安装 Cocos2d 的解决方案。有很多关于安装 Cocos2d 的教程,在每个教程中他们都用 install.sh 或 install-templates.sh 进行了解释。我已经下载了几次 Cocos2d,但没有找到 install.sh 或 install-templates.sh。在终端中显示错误 install.sh 或 install-templates.sh 命令未找到。谁能告诉我这里的安装方法。
最佳答案
install.sh文件包含在cocos2D v3.4目录中。
对于安装,您可以执行以下步骤:
1. 从cocos2D v3.4文件夹中打开终端并拖动install.sh文件。
2. 输入 ./install.sh -d,然后输入 ./install.sh -i
3.完成!
关于ios - 为什么Cocos2d 3.4没有install.sh或者install-templates.sh文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30589408/