As far as I know, you cannot disable the location service on the simulator.
The approach that I usually use when using the location service is to create a simple arround NSLocation wrapper class adapted to the needs of my application.
In this shell, you can easily pretend that the service is not working in the simulator. For example, it may have an isEnabled method that returns false on a simulator with a compiler, for example (#if TARGET_ IPHONE_SIMULATOR)
MLefrancois
source share