COCOS2DX V3.2 Mac OS Xcode6.1 environment configuration

Source: Internet
Author: User



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


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.