Due to the recent need to develop a game SDK for the CP, and then re-contact with the next cocos2d-x, I have used the cocos2d-x early version in 2011, now found that the 3.2 version in the original gap is quite large, the environment is set up as follows:
1.xcode download, this does not need to explain, go to Apple official website to download on OK.
Download of 2.cocos2d-x
To http://cn.cocos2d-x.org/or https://code.google.com/p/cocos2d-x/downloads/list to download the latest stable version, currently 3.2
3. Unzip the cocos2d-x to your installation directory
4. Open the Settings-keyboard, tick "new terminal tag in folder location", OK.
5. Open the unpacking package and right-click
6. The terminal is opened and the command is entered./setup.py
7. Now that the Cocos2d-x installation is complete, you can turn on your own demo verification
8. New project, need to proceed under Terminal, enter the directory where the new project is located: syntax
Cocos new-l (Language CPP, LUA, JS)-P (package name) project name,
After the successful creation, the project file will be created in the directory you specified, and the Open will be OK!
xcode6.1 and cocos2d-x3.2 Environment construction