Installing Cocos2d 2.0 Xcode Templates

I am trying to install cocos2d 2.0 Xcode 4 templates, but I keep getting errors when I run the setup script. I tried to manually copy the templates, but when I try to compile my project, it gives me a bunch of errors. Can anyone help?

Here are the errors the script sets:

http://pastebin.com/ZdmAxwef

Any help is much appreciated!

Thank!

+5
source share
4 answers

You might have installed cocos2d 1.x templates using root. Since root installation is no longer supported, you must first return them to the user.

+4
source

There are three things you can try:

, install-templates.sh sudo

cd *location of cocos2d-2.0 folder*
sudo ./install-templates.sh -u -f
where -f forces the installation

-, install-templates.sh script ( , Machintosh HD)

-, ( , ) (, , , mkdir , )

+3

cd/src/cocos2d-iphone-2.0/

./install-templates.sh -f

http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:migrate_to_v2.0

side note- Mac "Macintosh HD" src cocos2d-iphone-2.0. im Xcode 4.4 .

,

+3

  • , , - .

Cocos2D

cocos2d-swift.org

he will install everything automatically, including templates. just run the new Xcode project and it will just be in the template settings

0
source

All Articles