How do you install cocos2d-iphone on Mac?

There are no good instructions for installing cocos2d for iPhone on Mac.

  • 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 correct?

  • I tried running a file called "install_template.sh". he said the templates are already installed.

  • Instead, I have manually dragged the template folders where they belong and they ~ ~ appear in the Xcode New Project dialog.

  • When I create a new cocos2d project, I see all these red links for the project files, not the usual black links. When I try to open them in a search device, nothing happens.

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

Thanks!

+2


a source to share


2 answers


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



+2


a source


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



0


a source







All Articles