Go to Edit Scheme.
Select Run -> Options.
Check “Allow Location Simulation”.
Select the *.GPX File Name from the “Default Location” drop down list.