问题
I've probably googled this question in 20 different syntaxes and I can't find the answer. PLEASE HELP!!! How do I install the Cocos2d project templates in xcode 4? I've tried different ways, but they still don't show up when I build a new project in Xcode 4! HELP!
回答1:
The templates have already been published: http://www.cocos2d-iphone.org/forum/topic/13782/page/2#post-82267
回答2:
Download "cocos2d-iphone" from This Link.
And follow instructions in Pics.

回答3:
You don't yet. The author of cocos-2d has said that Xcode 4 is not supported yet, a new version should be out shortly with support.
What’s next:
v1.0-rc in 3~4 weeks: It will includes fixes, fixes, fixes, and Xcode 4 templates
http://www.cocos2d-iphone.org/archives/1404
回答4:
The project templates are available now. The file templates are not as of this post.
回答5:
For file template you could do the following for now:
- Download "cocos2d_1.0.0.zip" from https://files.me.com/miroslav.perovic/7despc
- copy the “cocos2d 1.0.0.zip″ to /Developer/Library/XCode/Templates/File templates and unpack it
PS This is not official cocos2d template files.
来源:https://stackoverflow.com/questions/5287081/how-to-install-cocos2d-project-templates-in-xcode-4