All Projects → plu → Simctl

plu / Simctl

Licence: mit
Ruby interface to xcrun simctl

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Simctl

Controlroom
A macOS app to control the Xcode Simulator.
Stars: ✭ 4,617 (+4659.79%)
Mutual labels:  xcode, simulator
Nine41
Automate overriding the status bars for all running iOS simulators
Stars: ✭ 124 (+27.84%)
Mutual labels:  xcode, simulator
Surmagic
🚀 The better way to deal with Binary Frameworks on iOS, Mac Catalyst, tvOS, macOS, and watchOS. Create XCFrameworks with ease.
Stars: ✭ 119 (+22.68%)
Mutual labels:  xcode, simulator
Isimulator
iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator.
Stars: ✭ 963 (+892.78%)
Mutual labels:  xcode, simulator
Xfunnyeditor
Xcode plugin to display an image on the background of the editor
Stars: ✭ 92 (-5.15%)
Mutual labels:  xcode
Card Game Simulator
Create, Share, and Play
Stars: ✭ 87 (-10.31%)
Mutual labels:  simulator
Simulator
A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles
Stars: ✭ 1,260 (+1198.97%)
Mutual labels:  simulator
Swift Project Template
🍪 Easily generate Swift projects with Cookiecutter
Stars: ✭ 85 (-12.37%)
Mutual labels:  xcode
Collectionnode
a collectionView made for Sprite Kit
Stars: ✭ 96 (-1.03%)
Mutual labels:  xcode
Qibullet
Bullet simulation for SoftBank Robotics robots
Stars: ✭ 95 (-2.06%)
Mutual labels:  simulator
Rinsim
RinSim is a logistics simulator written in Java. RinSim supports (de)centralized algorithms for dynamic pickup-and-delivery problems (PDP). The simulator is developed at the imec-DistriNet group at the dept. of Computer Science, KU Leuven, Belgium.
Stars: ✭ 91 (-6.19%)
Mutual labels:  simulator
Ghdl
VHDL 2008/93/87 simulator
Stars: ✭ 1,285 (+1224.74%)
Mutual labels:  simulator
Mvvm Ac
Xcode 10 Template For MVVM
Stars: ✭ 94 (-3.09%)
Mutual labels:  xcode
Videngine
3D graphics for iOS using Metal and Swift
Stars: ✭ 86 (-11.34%)
Mutual labels:  xcode
Awesome Emulators Simulators
A curated list of software emulators and simulators of PCs, home computers, mainframes, consoles, robots and much more...
Stars: ✭ 94 (-3.09%)
Mutual labels:  simulator
Drc Sim
Wii U Gamepad Simulator Backend
Stars: ✭ 85 (-12.37%)
Mutual labels:  simulator
Coremldemo
A simple demo for Core ML
Stars: ✭ 90 (-7.22%)
Mutual labels:  xcode
Webots
Webots Robot Simulator
Stars: ✭ 1,324 (+1264.95%)
Mutual labels:  simulator
Xmlmapper
A simple way to map XML to Objects written in Swift
Stars: ✭ 90 (-7.22%)
Mutual labels:  xcode
Suitcase
A flexible command line tool for instantly deploying user interfaces for simple commands and scripts.
Stars: ✭ 1,287 (+1226.8%)
Mutual labels:  xcode

simctl

Build Status Gem Version Coverage Status

Ruby interface to xcrun simctl. Manage your iOS Simulators directly from a ruby script.

Usage

require 'simctl'

# Select the iOS 12.1 runtime
runtime = SimCtl.runtime(name: 'iOS 12.1')

# Select the iPhone 6 device type
devicetype = SimCtl.devicetype(name: 'iPhone 6')

# Create a new device
device = SimCtl.create_device 'Unit Tests @ iPhone 6 - 12.1', devicetype, runtime

# Boot the device
device.boot

# Launch a new Simulator.app instance
device.launch

# Wait for the device to be booted
device.wait {|d| d.state == :booted}

# Kill the Simulator.app instance again
device.shutdown
device.kill

# Wait until it did shutdown
device.wait {|d| d.state == :shutdown}

# Delete the device
device.delete

License (MIT)

Copyright (C) 2019 Johannes Plunien

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].