Skip to content
swemoney edited this page Sep 13, 2010 · 5 revisions

Xcode – iPhone Application Template – Cocos2d-based Application

This is a quick setup template for creating a new Cocos2D based iPhone application in Xcode.

It took me a little while to figure out where iPhone application templates were stored.. On my mac, I found them at the following location.

/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project\ Templates/Application/

To install this template, just open up your terminal..


cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project\ Templates/Application
git clone git clone git://github.com/swemoney/xcode_cocos2d_iphone_app_template.git Cocos2D-Based\ Application

I like to keep my templates looking good, so instead of letting git throw it in an ugly xcode_cocos2d_iphone_app_template directory, I suggest adding the Cocos2D-Based\ Application to the end of your git command (just like above).

The current version of Cocos2D includes with this template is 0.6.1.

Clone this wiki locally