How do I install the cocos2D templates for Xcode?
October 13, 2012 in cocos2D, iOS, Recipes, Xcode
cocos2D is an open source framework for creating 2D games on a variety of different platforms. The Mac OS X / iOS porting includes some useful templates for Xcode providing the backbone code for a new cocos2D application. After they are installed, they will be available in the “New Project” window of Xcode.
To install the cocos2D templates for Xcode, follow these steps:
- Download the latest version of cocos2D here.
- Unpack the archive in a location of your choice. From now on, we will refer to this location as
[cocos2Dpath]. - Open a terminal (located in /Applications/Utilities/Terminal).
- Type
cd [cocos2Dpath]and then press Return. - Type
./install-templates.sh -fand press Return
Note: the -f flag forces the installation of the templates if an older version is already present.


Recent Comments