Recently in learning cocos-2d, Baidu a cocos-2d, the overwhelming is cocos-2dx of the tutorial, have to say, foreigners still love cocos2d, previously installed COCOS2D 2.0 version, online tutorials are 0.9 of the installation of tutorials, Now Cocos2d has been updated to 3.3.6, now the version after 3.1 is no longer available installation scripts and templates, instead of using a visual Spritebuilder to complete the cocos2d update and template, That is, all subsequent cocos2d templates are created from the Spritebuilder.
Description of the author's blog: http://forum.cocos2d-swift.org/t/installing-cocos2d-swift/15916
Since the cocos2d version of 3.0 is supported across platforms, both iOS and Anriod are exported using Spritebuilder, and you can design some visual objects in Spritebuilder and then export to Xcode, When you open a project with Xcode, it's probably the process now.
1. First open the Spritebuilder, then in the upper right corner, click File--New project, create your own project named Sprite.
2. Click Pushlish to update the Xcode project.
3. Open the Sprite folder in the directory you created, then open SPRITE.XCODEP Roj, where you created the COCOS2D project
COCOS2D 3.3 Installation Tutorial