Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ios-control/ios-sim
Command-line application launcher for the iOS Simulator
https://github.com/ios-control/ios-sim
Last synced: about 1 month ago
JSON representation
Command-line application launcher for the iOS Simulator
- Host: GitHub
- URL: https://github.com/ios-control/ios-sim
- Owner: ios-control
- License: apache-2.0
- Fork: true (jhaynie/iphonesim)
- Created: 2010-12-17T16:17:09.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-09-09T18:56:54.000Z (about 1 year ago)
- Last Synced: 2024-09-25T23:40:07.237Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.17 MB
- Stars: 1,494
- Watchers: 84
- Forks: 253
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
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
==========* [Usage](#usage)
* [Commands](#commands)# 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
...
```# 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 APPLICATIONPATHARGUMENTS
APPLICATIONPATH the path to the application to launchOPTIONS
-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 APPLICATIONPATHARGUMENTS
APPLICATIONPATH the path to the application to launchOPTIONS
-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 showdevicetypesOPTIONS
-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 showsdksOPTIONS
-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 startOPTIONS
-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)_