# ios-sim

> launch iOS apps into the iOS Simulator from the command line (Xcode 8.0+)

Latest version **9.0.0** (published 2020-03-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install ios-sim
pnpm add ios-sim
yarn add ios-sim
bun add ios-sim
```

Provides the command `ios-sim`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 9.0.0 |
| Published | 2020-03-03 |
| First published | 2013-07-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 9 |
| Unpacked size | 43.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1490 |
| Author | Shazron Abdullah |
| Maintainers | bowserj, brodybits, dpogue, erisu, filmaj, gabebear, jcesarmobile, macdonst, purplecabbage, shazron, stevegill |
| Keywords | ios-sim, iOS Simulator |

## Links

- npm: https://www.npmjs.com/package/ios-sim
- Repository: https://github.com/ios-control/ios-sim
- Homepage: https://github.com/ios-control/ios-sim#readme
- Issues: https://github.com/ios-control/ios-sim/issues
- npm.io page: https://npm.io/package/ios-sim

## Dependencies (9)

- [nopt](https://npm.io/package/nopt.md) ^4.0.1
- [debug](https://npm.io/package/debug.md) ^4.1.1
- [plist](https://npm.io/package/plist.md) ^3.0.1
- [simctl](https://npm.io/package/simctl.md) ^2.0.0
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.13.3
- [@oclif/errors](https://npm.io/package/@oclif/errors.md) ^1.2.2
- [bplist-parser](https://npm.io/package/bplist-parser.md) ^0.2.0
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.5.18
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^2.2.1

## Recent versions

- 9.0.0 (latest) — 2020-03-03
- 9.0.0-dev.4 (next) — 2019-04-01
- 6.1.3 (maintenance) — 2018-07-03
- 8.0.2 — 2019-08-27
- 8.0.1 — 2019-04-10
- 9.0.0-dev.3 — 2019-04-01
- 9.0.0-dev.2 — 2019-03-29
- 9.0.0-dev.1 — 2019-03-24
- 9.0.0-dev.0 — 2019-03-24
- 8.0.0 — 2019-02-18
- 7.0.0 — 2018-06-14
- 6.1.2 — 2017-09-20
- 6.1.1 — 2017-09-17
- 6.0.0 — 2017-06-14
- 5.1.0 — 2017-06-06
- … 26 more at https://npm.io/package/ios-sim/versions

## README

[![NPM](https://nodei.co/npm/ios-sim.png?compact=true)](https://nodei.co/npm/ios-sim/)
[![Build status](https://ci.appveyor.com/api/projects/status/xh7auct40k5oxwjg/branch/master?svg=true
)](https://ci.appveyor.com/project/shazron/ios-sim-bn5fo)
[![Build Status](https://travis-ci.org/ios-control/ios-sim.svg?branch=master)](https://travis-ci.org/ios-control/ios-sim)
[![Codecov Coverage](https://img.shields.io/codecov/c/github/ios-control/ios-sim/master.svg?style=flat-square)](https://codecov.io/gh/ios-control/ios-sim/)

ios-sim
==========


<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ 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
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`ios-sim install APPLICATIONPATH`](#ios-sim-install-applicationpath)
* [`ios-sim launch APPLICATIONPATH`](#ios-sim-launch-applicationpath)
* [`ios-sim showdevicetypes`](#ios-sim-showdevicetypes)
* [`ios-sim showsdks`](#ios-sim-showsdks)
* [`ios-sim start`](#ios-sim-start)

## `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](https://github.com/ios-control/ios-sim/blob/v9.0.0/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](https://github.com/ios-control/ios-sim/blob/v9.0.0/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](https://github.com/ios-control/ios-sim/blob/v9.0.0/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](https://github.com/ios-control/ios-sim/blob/v9.0.0/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](https://github.com/ios-control/ios-sim/blob/v9.0.0/src/commands/start.js)_
<!-- commandsstop -->

---
_Source: https://npm.io/package/ios-sim · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
