Skip to content

Using the iOS emulator

Alexandre Segura edited this page Feb 2, 2019 · 4 revisions

Simulating location

You can simulate a static location on the emulator.

Go to Debug > Location > Custom location and enter the desired coordinates.


To simulate a ride with a GPX file, you will need to run the emulator through XCode.

  • Click on File > Add Files to "CoopCycle", and choose a GPX file from your computer
  • Click on Product > Run to launch the emulator.
  • Go to Product > Scheme > Edit Scheme
  • In the Options tab, check "Enable Location Simulation", and choose the GPX file in the "Default Location" dropdown
  • Click on Product > Run to launch the emulator again.

Testing deep linking

The app is configured to handle deep links, i.e it is able to open some links directly. At the moment, it is configured to open registration confirmation links, but more links may be added in the future.

xcrun simctl openurl booted coopcycle://register/confirm/abcdef123456
Clone this wiki locally