Simulate Location in Schemes
masterEnable location simulation for the run action using the simulateLocation key.
allow: Set totrueto enable simulation.defaultLocation: Set a predefined location (e.g.,San Francisco, CA, USA) or a path to a custom.gpxfile.
Note: If using a custom .gpx file, you must add it to the target's fileGroups so Xcode can access it.
targets:
MyTarget:
fileGroups:
- location.gpx