Create Nativescript angular project under Mac

Source: Internet
Author: User
Tags install cocoapods java se

1. set up your system Step 1:install node. js Step 2:install The nativescript CLI 2.1npm install-g Nativescript2.2 Verify the Nativescript CLI TNS Step 3:install iOS and Android requirements3.1 Window3.2 MacOS3.2.1 ruby-e "$ (curl-fssl https://www.nativescript.org/setup/mac)" 3.2.2Do you haveXcode installed? (y/n)Error:xcode-select:error:tool ' xcodebuild ' requires Xcode, but active developer directory '/library/developer/ Commandlinetools ' is a command line tools instanceXcode isn't installed or not configured properly. Download, install, set it up and run this script again.Execute commands, modifylocation of the installation sudo xcode-select--switch/applications/xcode.app/contents/developer If you don't have the Xcode installed, download and install it from the App Store and run it once to complete its setup. 3.2.3Allow the script to installHomebrew?(Y) es/(N) o3.2.4Allow the script to installGoogle Chrome?(Y) es/(N) oYou have chosen don't to install Google Chrome. Some features of Nativescript may isn't work correctly if you haven ' t already installed it3.2.5Allow the script to installJava SE Development Kit 8?(Y) es/(N) o3.2.6Allow the script to installAndroid SDK?Note If you type all won ' t is prompted for subsequent installations (Y) es/(N) o/(A) ll3.2.7Allow the script to installCocoaPods?Note If you type all won ' t is prompted for subsequent installations (Y) es/(N) o/(A) ll (1) InstallCocoaPodssudo gem install cocoapods(2) SetupCocoaPodspod SetupCocoapods is a third-class library management tool under OS X and iOS3.2.8Allow the script to installpip?Note If you type all won ' t is prompted for subsequent installations (Y) es/(N) o/(A) llhttps://pypi.python.org/simple/pip/3.2.9Allow the script to installsix?Note If you type all won ' t is prompted for subsequent installations (Y) es/(N) o/(A) ll' Six ' python package3.2.10Allow the script to installxcodeproj?Note If you type all won ' t is prompted for subsequent installations (Y) es/(N) o/(A) ll (1) InstallBrew Install XcprojStep 4:verify the set upTNS Doctor2. Basics of the Nativescript command-line interface Step 1:creating AppsTNS Create HelloWorld--template tns-template-blank-ng step 2:navigate into your new app ' s folderCD HelloWorldStep 3:running Apps3.1 iOSTNS Run iOS3.2 AndroidTNS Run Android3. Nativescript Advanced Setup:macos

Create Nativescript angular project under Mac

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.