Where do I start?

Not sure why it’s not working still.

I did the same thing with the Cocos2d-iphone folder and it works perfectly. I do it with Cocos2d-x, and it doesn’t.

Some guy on the cocos2d forum wanted to know why my ‘sudo ls’ was for it.

I noticed that there’s a difference between the two.

cocos2d-iphone sudo ls:
.gitattributes LICENSE.FontLabel LICENSE.cocosdenshion Resources-iPad doxygen.footer tests .gitignore LICENSE.TouchJSON LICENSE.libpng cocos2d experimental tools AUTHORS LICENSE.artwork README.mdown cocos2d-ios.xcodeproj external CHANGELOG LICENSE.box2d RELEASE_NOTES cocos2d-mac.xcodeproj extras CocosDenshion LICENSE.chipmunk Resources cocoslive install-templates.sh DONORS LICENSE.cocos2d Resources-Mac doxygen.config templates

cocos2d-x sudo ls is:
.base_profile HelloWorld README.mdown cocos2d-win32.vcproj.user tests .gitignore LICENSE.artwork build-uphone.sh cocos2dx Box2D LICENSE.box2d chipmunk doxygen CHANGELOG LICENSE.chipmunk cocos2d-uphone.sln install-templates.sh CocosDenshion LICENSE.cocos2d-x cocos2d-win32.sln template

Ooops, used the wrong forum style for the stuff. Here it is again…

cocos2d-iphone sudo ls:

.gitattributes      LICENSE.FontLabel   LICENSE.cocosdenshion   Resources-iPad      doxygen.footer      tests
.gitignore      LICENSE.TouchJSON   LICENSE.libpng      cocos2d         experimental        tools
AUTHORS         LICENSE.artwork     README.mdown        cocos2d-ios.xcodeproj   external
CHANGELOG       LICENSE.box2d       RELEASE_NOTES       cocos2d-mac.xcodeproj   extras
CocosDenshion       LICENSE.chipmunk    Resources       cocoslive       install-templates.sh
DONORS          LICENSE.cocos2d     Resources-Mac       doxygen.config      templates

cocos2d-x sudo ls:

.base_profile           HelloWorld          README.mdown            cocos2d-win32.vcproj.user   tests
.gitignore          LICENSE.artwork         build-uphone.sh         cocos2dx
Box2D               LICENSE.box2d           chipmunk            doxygen
CHANGELOG           LICENSE.chipmunk        cocos2d-uphone.sln      install-templates.sh
CocosDenshion           LICENSE.cocos2d-x       cocos2d-win32.sln       template

Sorry, I have one more question. Are you using a hacked osx system installed on PC, instead of official mac?
There’re many odd problems on hacked osx

I am not. Using a 17inch MacBook Pro.

./install-templates.sh… ./install-templates.sh: Permission denied

try this…

chmod +x install-templates.sh

well it doesn’t work on mine

This thread is 5 years old. Please refer to a current version of Cocos2d-x for setup