views:

113

answers:

1

Hello, I am trying to install cocos2D but when I put it into terminal, I get the error:

Error: This script must be run as root in order to copy templates to /Library/Application Support/Developer/Shared/Xcode

What am I doing wrong here? Thanks in advance, Tate

EDIT 1:

I installed cocos2D and the project template show up but all of the files are red links and will not reveal in finder. When I build I get 129 errors! How do I fix this?

A: 

you can install it with the -u option and it should work fine. I had a similar issue when i installed as root as it said. I just re-ran the installer with the -u and it worked.

./install-templates.sh -u
AtomRiot