A simctl wrapper in Swift.
Add the following line to your Podfile
and run pod install
:
pod "Simulator", "~> 0.2.0"
Add the following dependency to your Package.swift
:
.package(url: "https://github.com/tuist/simulator.git", .upToNextMinor(from: "0.2.0")),
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
Devices
// List devices
let devices = Device.list
Runtimes
// List runtimes
let runtimes = Runtime.list
// Get the latest runtime
let latestiOS = Runtime.latest(platform: .iOS)
- Git clone:
[email protected]:tuist/simulator.git
- Generate Xcode project with
swift package generate-xcodeproj
. - Open
Simulator.xcodeproj
. - Have fun ๐ค
Tuist is a proud supporter of the Software Freedom Conservacy