Install the cocos2d xcode Project template

Source: Internet
Author: User
Install the cocos2d xcode Project template
Now open "terminal" (Terminal) Program-You can find it in the "utility" folder in the Mac application folder. Or enter "terminal. app" in the search box in the upper-right corner of the Mac to find it. A shell script is required for installing the cocos2d xcode Project template, so a terminal is required.
First, enter sudo in the terminal window, followed by a blank field. Open the finder window, locate the install-templates.sh in the cocos2d folder, and drag it to the terminal window. This will add the file path and file name directly to the end of The sudo command. Now the terminal window will have the command below: sudo/book/cocos2d-iphone-0.99.3/install-templates.sh
Press the Enter key. Because the script requires root permission to run the installer, the supervisor will require you to enter the system password. If no error occurs, you will see several lines of feedback in the terminal window. Most texts start with "... copying. If you see such feedback, the template has been successfully installed.
If you encounter any error information, make sure that there is a blank space between sudo and the file path. And it is true that the path to the install-template.sh script is correct. If the script tells you that the template has been installed, add the-F parameter to the command line as recommended by the script. This will overwrite the previously installed xcode Project template that may be outdated. It does not affect any existing cocos2d dashboard-based projects.

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.