GPX files for iOS Simulator
Here is a simple GPX file with an entry for Ann Arbor, Michigan. You can just change the name and lat/lon.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<gpx
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
version="1.1"
creator="gpx-poi.com">
<wpt lat="42.280826" lon="-83.743038">
<name>Ann Arbor</name>
</wpt>
</gpx>
- Run you app. In debug are you can find "Simulate location" button
2.You can select one of default locations (here is list)
If you need a custom location
Create new file : File -> New ->File (Resources tab) GPX file click (at the bottom of locations list) "Add GPX File to workspace"
- Go to this website and get Latitude and Longitude of a Point that you need.
- Edit GPX file that you have created.
- Open "Simulate Location", the same as in step 1, and Your location from GPX file will be available in the list.The name of location will be same same as a name of the file.