Cocos2d-x learning Tour (7): 1.7 cocos2d-x iOS development environment construction

Source: Internet
Author: User

Preparations

A Vm for MACOs or MACOs

Install xcode4.2 or later

Install ios sdk 5

Here we will not detail how to install xcode and iOS sdks. You can download and install them in the itues store, provided that you have to register an apple developer and pay 99 $.

Step 1: Install the cocos2d-x Project template

Open the cocos2d-x root directory, find the install-templates-xcode.sh, And now execute it

Open the terminal and go to the directory where the cocos2d-x is placed

Enter sudo./install-templates-xcode.sh to execute the install-templates-xcode.sh and a successful interface appears

The template already exists because I have already installed it.

Start xcode and click Create a New xcode project.

Click the cocos2dx template to create a project.

Enter the project name and ID, and then select the storage path.

Project appears

Project properties are displayed in the right window by default,

Click Run in the upper left corner to check the effect. Is it cool.

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.