billylo1 / set-simulator-location-trip-simulator

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

Home Page:https://evergreen-labs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://evergreen-labs.com

License:Apache License 2.0


Languages

Language:Swift 97.7%Language:Makefile 2.3%