Objective: This is suitable for kids shoes who plan to develop Cocos2d-x games on MAC systems.
Requirement: First, you have to have a girlfriend. Joke.
1. MAC system computer, authentic MAC machine or black apple.
2. One of the best development software on Xcode mac, you know. Ps: I have Xcode5
3. Go to the official web download cocos2d-x. Ps: My version is 2.2.3
4. No, that's all.
Step: Find a theme called "terminal" on your mac, and open it. It's black and lacquer, just like cmd on Windows 7.
Enter cd/Users/username/cocos2d-x-2.2.3/tools/project-creator in the terminal and press Enter.
Find the/tools/project-creator subfolders in the cocos2d-x folder you downloaded. Note: Change username to your mac user name!
Next, continue to input: python create_project.py-project HelloWorld-package com.cocos2d-x.org-language cpp in the terminal and press Enter. If you see a lot of done, it means you have succeeded !~ Note: HelloWorld needs to be changed to the name of the project you want to create, the com.cocos2d-x.org needs to be changed to the package name of the project you want to create, it seems to need such a three-segment...
After the project is created, you can find the project you created in the projects under the directory of your cocos2d-x, from proj under the project directory. double-click XXXX in the ios folder. xcodeproj project file (XXXX your project name) can open your project in Xcode!
After: Ready to learn about cocos2d-x and then do some game play, hey ,,,