johnfromberkeley
johnfromberkeley

Reputation: 21

How do you install cocos2d-iphone on the Mac?

There are no good instructions for installing cocos2d for iPhone on the mac.

  1. I downloaded the current build from git, a folder called "cocos2d-iphone-0.99.1". i put this folder in /Developer/Libary. Q: is this right?

  2. I tried running the file called "install_template.sh". it said the templates were already installed.

  3. Instead, I manually dragged the templates folders where they belong, and they ~do~ appear in the XCode's "New Project" dialog.

  4. When I create a new cocos2d project, I see all these red links for project files, instead of the regular black links. When I try to open them in the finder, nothing happens.

I can tell that something is not linked. Can someone please help walk me through this?

Thanks!

Upvotes: 2

Views: 13565

Answers (2)

Paul Kelly
Paul Kelly

Reputation: 4019

You also need to add the cocos2d files to your project in Xcode.

Upvotes: 0

Jason Webb
Jason Webb

Reputation: 8020

To install the templates, these instructions worked for me. You can see them here. Otherwise you can just download the library and use it. No install is really needed.

Upvotes: 2

Related Questions