Reputation: 1377
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?
Upvotes: 0
Views: 1362
Reputation: 313
try this
./install-templates.sh -u in the terminal , I also face this problem with the help of this link , I easily solve the problem
Upvotes: 0
Reputation: 1581
Alternatively, you could go ahead and
sudo ./install-templates.sh
and, assuming you are a sudoer, enter your password at the prompt.
Upvotes: 2
Reputation: 1879
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
Upvotes: 0