Install Cocos2d

Do you have Xcode installed? If not go to the Apple Development Site, and sign up to download Xcode. For now just sign up for a free account. If you want to test your game on your ipod or, submit your iphone game to the app store you will have to have a paid subscription.

Download cocos2d.

Put your cocos2d download in a folder where you can get at it. Now open the application folder, scroll down to utilities.

Open terminal.

In terminal type cd and then drag the folder in to the terminal and hit the enter key.

Then type “sudo -f”.

If you have a password for your computer it will ask you for it.Note that you will not see any of your password on the screen. Just type in your password and hit enter.

Cocos2d should install

Now open XCode and start a new project.


About criter88

I am 22 and currently working on building my own Iphone game with my sister and brother in law.
This entry was posted in cocos2d. Bookmark the permalink.

2 Responses to Install Cocos2d

  1. Pingback: Animating a Sprite with Cocos2d | Britney's programming guide

  2. chanda says:

    I have followed all your above mentioned steps.
    But when I start and compile a new project I am getting around 127 errors like “Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1”.
    I think there is some linking errors .
    I will really appreciate for any kind of help.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s