-
Notifications
You must be signed in to change notification settings - Fork 2
Home
swemoney edited this page Sep 13, 2010
·
5 revisions
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\ \(0.6.x\)
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\ \(0.6.x\) to the end of your git command (just like above) or just rename the folder after cloning. I also added the (0.6.x) to the end so when I create a template for 0.7.x, i don’t have to overwrite it.
The current version of Cocos2D includes with this template is 0.6.3
.