xcode下安装cocos2d-x,如果你之前安装过旧版本,然后再安装新版本,则会提示该问题,如图:
![templates already installed. To force a re-install use the -f parameter - zhaolong_chn - zhaolong_china](http://img2.ph.126.net/St257EHag96zJ0rHKb3L4w==/186617909576999542.jpg)
解决方法很简单,只需要将
sudo ./install-templates-xcode.sh
改成
sudo ./install-templates-xcode.sh -f
强制重新安装即可。