I have set the Default Location
in the Scheme setting for the app (see screenshot) and just send the app to Apple to get approved.
However, the same version I also send out to QA, Project Managers and other devs using the Ad Hoc provisioning profile. Now when I launch the app using the Ad Hoc version, it always simulates the Gothenburg location (GPX file), eventhough I currently am in Stockholm.
My question is, is the version send to Apple affected by this? Will is also simulate the Gothenburg location, or will it use the users REAL position?
Thanks!
Allow location simulationSelect Run | Edit Configurations from the main menu or Edit Configurations from the run/debug configuration selector on the toolbar. Choose your configuration from the list and go to the Options tab. Select the Allow Location Simulation checkbox and click OK.
type: ~/Library/Application Support/iPhone Simulator.
Click the location on the map you want to simulate, and then press the lowercase L key. A dialog will appear with the message, “Simulated Location Set”. After a short time, the simulated location you set in the Editor will appear as a pink dot in the Android Emulator. Click anywhere on the map, and press Shift+L.
I happened to send a release (of my private apps) to Apple having the GPX files, by misstake. The app is not affected. It seems there is some kind of bug that overwrites the GPS values on the device when debugging from XCode. Only way to fix is to restart the device (or maybe to build without GPX files(?)).
So the answer is: NO, the app is not affected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With