by lyft

CLI for setting location in the iOS simulator

481 Stars 24 Forks Last release: 4 months ago (1.5.0) Apache License 2.0 20 Commits 7 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


This is a simple CLI for easily setting the location of the currently running iOS Simulator.


Set a specific latitude and longitude:

$ set-simulator-location -c 37.7765 -122.3918

Or using place search:

$ set-simulator-location -q Lyft HQ San Francisco

By default the location is set on all booted simulators. If you'd like to change it for only one of the booted simulators you can pass

followed by the simulator's display name:
$ set-simulator-location -q Lyft HQ San Francisco -s iPhone X

NOTE: If you have multiple booted simulators with the same name, the location will be set on all of them.




$ brew install lyft/formulae/set-simulator-location



$ mint install lyft/set-simulator-location

With a precompiled release:

  1. Download the latest release from here
  2. Install it some place in your


$ make install

I have submitted a Radar to have this behavior added to



To work on

you can make your changes and run
to build from the command line. If you'd prefer to work in Xcode you can run
make xcode
to generate a project using SwiftPM.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.