首页 > 代码库 > [NativeScript] Create new application and run emulator

[NativeScript] Create new application and run emulator

Install:

npm i -g nativescript

 

Create: 

tns create <app_name> --ng

 

Run:

tns emulate ios

 

List all emulators:

xcrun simctl list

 

Run a different emulator:

tns emulate ios --device "iPad Air 2"

 

[NativeScript] Create new application and run emulator