Skip to content

Latest commit

 

History

History
39 lines (19 loc) · 1.76 KB

File metadata and controls

39 lines (19 loc) · 1.76 KB

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)