I installed the cocos2d-1.0.0-x-0.9.0 release according to these instructions: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_1*-*How_to_Create_a_New_cocos2d-x_project_on_multi-platforms#3-Start-with-iPhone
The “sudo ./install-templates-xcode.sh” runs perfectly, but when I restart XCode, the templates are not there. Does anyone know why? Cheers
walzer
July 19, 2011, 11:41pm
2
Did you select the choice of xcode3 or xcode4 correctly in the installation? They will install to different paths.
In the other hand, I usually run
./install-templates-xcode.sh -u -f
~~u means only install for the current user,~~f means it will replace the old template.
Yes, I have XCode4- installed to XCode 4, I just tried u f, but it didn’t work. Any other ideas?
walzer
July 20, 2011, 6:59pm
4
Well, after installation, the folders in my HOME/Library/Developer/Xcode/Templates/cocos2d-x/ should appear like this
Can you find these folders in your machine?
Walter, cheers! It was installing to the wrong directory. Thank you
walzer
July 20, 2011, 7:12pm
6
Oh, maybe the install-templates-xcode.sh isn’t work correctly on all machines.
Can you please tell me which path it installed into? So I can improve the shell script in the next version.
Hey… it installed to the right directory, my XCode was just in a weird location…
walzer
July 20, 2011, 11:11pm
8
Oh, I see. Good luck, boy