-
Notifications
You must be signed in to change notification settings - Fork 33
Using the iOS emulator
Alexandre Segura edited this page Feb 2, 2019
·
4 revisions
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.
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