Skip to content

Latest commit

 

History

History
149 lines (105 loc) · 4.42 KB

README.md

File metadata and controls

149 lines (105 loc) · 4.42 KB

NPM Build status Build Status Codecov Coverage

ios-sim

Usage

$ npm install -g ios-sim
$ ios-sim COMMAND
running command...
$ ios-sim (-v|--version|version)
ios-sim/9.0.0 darwin-x64 node-v10.18.1
$ ios-sim --help [COMMAND]
USAGE
  $ ios-sim COMMAND
...

Commands

ios-sim install APPLICATIONPATH

Install the application at the specified path to the iOS Simulator without launching the app

USAGE
  $ ios-sim install APPLICATIONPATH

ARGUMENTS
  APPLICATIONPATH  the path to the application to launch

OPTIONS
  -d, --devicetypeid=devicetypeid  The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes'
                                   to list devices.

  -l, --log=log                    The path where log of the app running in the Simulator will be redirected to

  -v, --verbose                    Enable verbose output

  -x, --exit                       Exit after startup

  --debug=debug                    Debug level output

See code: src/commands/install.js

ios-sim launch APPLICATIONPATH

Launch the application at the specified path in the iOS Simulator

USAGE
  $ ios-sim launch APPLICATIONPATH

ARGUMENTS
  APPLICATIONPATH  the path to the application to launch

OPTIONS
  -a, --args=args                  arguments to pass in to the launched app

  -d, --devicetypeid=devicetypeid  The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes'
                                   to list devices.

  -l, --log=log                    The path where log of the app running in the Simulator will be redirected to

  -s, --setenv=setenv              environment variables to pass in as key value pairs

  -v, --verbose                    Enable verbose output

  -x, --exit                       Exit after startup

  --debug=debug                    Debug level output

See code: src/commands/launch.js

ios-sim showdevicetypes

List the available device types

USAGE
  $ ios-sim showdevicetypes

OPTIONS
  -l, --log=log  The path where log of the app running in the Simulator will be redirected to
  -v, --verbose  Enable verbose output
  -x, --exit     Exit after startup
  --debug=debug  Debug level output

See code: src/commands/showdevicetypes.js

ios-sim showsdks

List the available iOS SDK versions

USAGE
  $ ios-sim showsdks

OPTIONS
  -l, --log=log  The path where log of the app running in the Simulator will be redirected to
  -v, --verbose  Enable verbose output
  -x, --exit     Exit after startup
  --debug=debug  Debug level output

See code: src/commands/showsdks.js

ios-sim start

Launch the iOS Simulator without an app

USAGE
  $ ios-sim start

OPTIONS
  -d, --devicetypeid=devicetypeid  The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes'
                                   to list devices.

  -l, --log=log                    The path where log of the app running in the Simulator will be redirected to

  -v, --verbose                    Enable verbose output

  -x, --exit                       Exit after startup

  --debug=debug                    Debug level output

See code: src/commands/start.js