Skip to content

Simple macOS app to send location updates (on a route) to iOS simulator for development and testing

License

Notifications You must be signed in to change notification settings

billylo1/set-simulator-location-trip-simulator

 
 

Repository files navigation

Trip Simulator

This is a simple trip simulation tool for on the iOS Simulator that comes with Xcode. To use it, just specify the starting and ending location, the tool will generate a route for you and send location updates every 0.5 seconds.

It is similar to the standard iOS simulator's location simulation feature (except that you can now use your own route, as opposed to the Freeway Drive simulation.) Note that it sends location updates only (no speed, altitude or direction information)

demo

Usage

Enter starting and ending location, press Generate route, choose a simulation speed (1x, 5x, 10x, 100x) and press Start Simulation

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

Installation

Use pre-compiled binary: Download it here, unzip and launch it directly (notorized by Apple)

Build it yourself: Clone this repo, open Trip Simulator.xcodeproj in Xcode

Development

Xcode 11.6 was used to develop Trip Simulator. The UI code uses the set-simulator-location project from lyft and MapKit for macOS.

Credits

The original set-simulator-location by Lyft

Icons made by Freepik from www.flaticon.com

License

Apache 2.0 (same as set-simulator-location)

About

Simple macOS app to send location updates (on a route) to iOS simulator for development and testing

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 97.7%
  • Makefile 2.3%