📱 Simulator

A simctl wrapper in Swift.

code style: prettier CircleCI codecov Slack

Install 🛠

Using CocoaPods

Add the following line to your Podfile and run pod install:

pod "Simulator", "~> 0.3.0"

Using Swift Package Manager

Add the following dependency to your Package.swift:

.package(url: "https://github.com/tuist/simulator.git", .upToNextMinor(from: "0.3.0")),

Using Carthage

Add the following line to your Cartfile and link the Simulator.framework from the project:

github "tuist/simulator" ~> 0.3.0

Note: Simulator is only compatible with macOS

Usage 🚀


// List devices
let devices = Device.list


// List runtimes
let runtimes = Runtime.list

// Get the latest runtime
let latestiOS = Runtime.latest(platform: .iOS)

Setup for development 👩‍💻

  1. Git clone: git@github.com:tuist/simulator.git
  2. Generate Xcode project with swift package generate-xcodeproj.
  3. Open Simulator.xcodeproj.
  4. Have fun 🤖

Open source

Tuist is a proud supporter of the Software Freedom Conservacy

Become a Conservancy Supporter!