Select a desired location from the list that opens.
If you cannot find the location that you need, select Custom Location and enter the location coordinates: This location will be simulated on your device, but won't be saved in the list. If you want to add custom locations to the list, use GPX files.
Use GPX files
To simulate custom locations missing in the standard list, you can use the GPX files. With these files, you can also simulate movement.
GPX is an XML-based file format used for storing GPS data. The format describes waypoints <wpt>, tracks <trk>, and routes <rte>. AppCode supports only waypoints <wpt>.
You can add an already existing GPX file to your project, edit it in AppCode, or create a new file from the Xcode template.
Create a new GPX file
In the Project tool window ⌥1, right-click a directory you want to add the file to and select New | File from Xcode Template.
In the dialog that opens, select iOS | Resource | GPX File:
Click Next.
On the next page, specify the file name and location and define to which group and target the file will belong. Later, the file name will appear in the list of locations. Click Finish.
A GPX file with initial content will be created.
If you want to simulate location, create one <wpt> element containing the place coordinates and (optionally) name. For example:
After the GPX file is added to your project, a new item will be available in the location list both in the Run/ Debug tool window and Run/Debug Configurations dialog.