frowing / simulator

πŸ“± A simctl wrapper in Swift

Home Page:https://tuist.github.io/simulator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“± 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.2.0"

Using Swift Package Manager

Add the following dependency to your Package.swift:

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

Using Carthage

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

github "tuist/simulator" ~> 0.2.0

Note: Simulator is only compatible with macOS

Usage πŸš€

Devices

// List devices
let devices = Device.list

Runtimes

// 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!

About

πŸ“± A simctl wrapper in Swift

https://tuist.github.io/simulator/

License:MIT License


Languages

Language:Swift 98.4%Language:Ruby 1.3%Language:Makefile 0.3%