MAC OS cocos2dx-3.2+xcode6.1 environment configuration, here I use Xcode 6.1.
1. First unzip the cocos2dx-3.2 and put it where you can easily find it. Then open the command line CD under the cocos2dx-3.2 file root directory
2, command line input./setup.py Enter
3. Enter the cocos2dx-3.2 folder--build double-click to open the tests. Xcodeproj into the Xcode interface.
Here to choose to execute Cpp-tests iOS and choose an emulator, then run, time is not short, please wait patiently.
The results of the operation are as follows, a program containing the COCOS2DX function demonstration:
、
4, the following is the creation of the project, also in your working directory right-click to bring up the terminal window, input instructions
The syntax is as follows
Cocos NEW-L * * * * * (language)-p * * * * * * * * * * * * * * * * Project Name * * * * * *
- -pAfter the package name
- -lfollowed by the development of the language type, there are CPP, LUA, JS three types
- -dThe directory after which the project is stored
COCOS2DX V3.2 Mac OS Xcode6.1 environment configuration