*Using the Debugging Tools in Simulator

Access the debugging tools in Simulator through the Location menu

Location

Allows you to set the Core Location to be used by your app. Choose from the different location settings:

  • None. Does not return a location. 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 use of a custom latitude and longitude.

  • Apple. Uses 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 a drive through Cupertino, CA. This item simulates the device moving on a predefined route.

Track finalize

Set location(Apple) after you end simulation drive and wait for 5 min + time for upload track. When sdk detects no move in 4 minutes it finalizes track and uploads data to server.

Simulate track with next manual:

1. Setup app 2. Complete permissions wizard 3. Close app (don't delete) 4. Launch app 5. Start freeway drive at simulator 6. Set Apple position at simulator 7. Wait for DataHub increment for received tracks count and for increment processed or invalid tracks If you want several trip - make it but at the end of last make this: 1. Set Apple position at simulator 2. Wait for DataHub increment for received tracks count and for increment processed or invalid tracks If tracks don't upload by the long time: 1. Close app (don't delete) 2. Launch app, monitor trips on device and in DataHub When you see permissions wizard your app has clean install without any data in storage.

Last updated