Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/macacajs/ios-simulator

Node.js wrapper for ios simulator
https://github.com/macacajs/ios-simulator

ios macaca simulator

Last synced: about 1 month ago
JSON representation

Node.js wrapper for ios simulator

Awesome Lists containing this project

README

        

# ios-simulator

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/ios-simulator.svg?style=flat-square
[npm-url]: https://npmjs.org/package/ios-simulator
[travis-image]: https://img.shields.io/travis/macacajs/ios-simulator.svg?style=flat-square
[travis-url]: https://travis-ci.org/macacajs/ios-simulator
[coveralls-image]: https://img.shields.io/coveralls/macacajs/ios-simulator.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/macacajs/ios-simulator?branch=master
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/ios-simulator.svg?style=flat-square
[download-url]: https://npmjs.org/package/ios-simulator

> iOS Simulator Node.js wrapper

## Contributors

|[
xudafeng](https://github.com/xudafeng)
|[
ziczhu](https://github.com/ziczhu)
|[
twink1e](https://github.com/twink1e)
|[
paradite](https://github.com/paradite)
|[
CodeToSurvive1](https://github.com/CodeToSurvive1)
|[
djhr](https://github.com/djhr)

| :---: | :---: | :---: | :---: | :---: | :---: |

This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto upated at `Sun Apr 19 2020 23:35:24 GMT+0800`.

## Installment

```bash
$ npm i ios-simulator --save
```

## Usage

Enable Developer Mode:

```bash
$ DevToolsSecurity -enable
```

```bash
$ npm i ios-simulator -g
$ ios-simulator -n 'iPhone 6s'
$ xcrun simctl shutdown `ios-simulator -n 'iPhone 6s'`
$ open -a Simulator --args -CurrentDeviceUDID `ios-simulator -n 'iPhone 6s'`
```

## License

The MIT License (MIT)