iOS Simulator

Debugging Tools in Simulator

Once you install iOS SDK, you can test it without real driving. Apple provides access to the debugging tools in Simulator through the Location menu.

How to test SDK:

  1. Setup the app with SDK
  2. Complete permissions wizard
  3. Close the app (don't delete)
  4. Launch the app
  5. Start freeway drive at the simulator
  6. Set Apple position at the simulator. :point-right: Apple position?
  7. Wait for 5 minutes
  8. Proceed to UserDataHub, your trip will be available there.

🚧

Test trip requirements

Duration > 60 sec
Speed > 30km/h or 18mi/h

📘

Set location(Apple) after simulation drive and wait for 5 min + time for uploading the track. When SDK detects stop driving, it completes tracking and data will be uploaded to the platform.


Available options:

The simulator allows you to set the core Location for your app. The following options are available:

  • None - no location returned. Use for testing how an app responds when no location data is available. A simulated watchOS device asks the paired iPhone for the location.
  • Custom Location - allows setting a custom latitude and longitude.
  • Apple - the coordinates of the Apple Headquarters.
  • City Bicycle Ride - simulates a bike ride in Cupertino, CA. This item simulates the device moving on a predefined route.
  • City Run - simulates a run in Cupertino, CA. This item simulates the device moving on a predefined route.
  • Freeway Drive - simulates drive through Cupertino, CA. This item simulates the device moving on a predefined route.

Did this page help you?