Xcode 4 template was offically released. Xcode 4 template

1.run the command in terminal (before running this, please make sure you install git first “git client“).

git clone git://github.com/cocos2d/cocos2d-iphone.git


2. run these comamnds in terminal one by one

$ cd cocos2d-iphone

$ git checkout develop

$ git pull

$ ./install-templates.sh -f -u


3.Then you should see the template “cocos2d” under iOS.


any other problems about his, please refer here.