Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.04 KB

Installation.md

File metadata and controls

29 lines (21 loc) · 1.04 KB

Installation

When building fbsimctl, you must be using Xcode 8 or greater. Building with Xcode 7 is not supported.

The quickest way to get going with fbsimctl is to use the Homebrew Formula:

# Get the Facebook Tap.
brew tap facebook/fb
# Install fbsimctl from master
brew install fbsimctl --HEAD

Custom Installation

The Formula uses the build script at the root of the FBSimulatorControl repo. You can use this to create a fbsimctl build, with all associated Frameworks into a directory.

# Carthage is required
$ brew install carthage
# Build fbsimctl and place it in the 'output' directory
$ ./build.sh fbsimctl build output
# Lists all Simulators & Devices
$ ./output/bin/fbsimctl list

The output directory can be relocated on disk wherever you wish, the directory contains all the necessary dependencies in the directory. You can zip the package up and move it anywhere, or add the directory to your shell's PATH.