http://www.mybringback.com
Cocos2d iPhone Installation for XCode :
In this iOS cocos2d tutorial we will set up cocos2d for xCode. It will be a pretty simple process.
Go to: http://www.cocos2d-iphone.org/download
and download cocos2d.
Install the templates in terminal:
$ cd ~/src/cocos2d-iphone-2.0/
$ ./install-templates.sh -f
If you are stuck or have any questions, please check out the forum at mybringback.com