mobilenativefoundation/set-simulator-location
NOTE: As of Xcode 14 you can use `xcrun simctl location` to do most of
Usage
Set a specific latitude and longitude:
$ set-simulator-location -c 37.7765 -122.3918Or using place search:
$ set-simulator-location -q Lyft HQ San FranciscoBy 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 -s followed by the simulator's display name:
$ set-simulator-location -q Lyft HQ San Francisco -s iPhone XNOTE: If you have multiple booted simulators with the same name, the location will be set on all of them.
Installation
With homebrew:
$ brew install lyft/formulae/set-simulator-locationWith Mint:
$ mint install lyft/set-simulator-locationWith a precompiled release:
- Download the latest release from
- Install it some place in your
$PATH
Manually:
$ make installI have submitted a Radar to have this behavior added to simctl.
Development
To work on set-simulator-location you can make your changes and run make 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.
Package Metadata
Repository: mobilenativefoundation/set-simulator-location
Default branch: main
README: README.md