I am developing an app that depends on GPS data and works only in New York City. It will display “out of range” if the user is 30 miles away from Manhattan. The problem is that I am 8 hours away from New York City and can’t really test the App functionality.
In Android, you can have DDMS send your device or AVD a mock location by simply pushing the lat and long coordinates. The App will then react to the location changes. I can’t seem to find a way to do that in iOS.
Does anyone know how to simulate location on iOS?
Thanks
In Xcode 4.2 with the new iOS 5 SDK it is possible to simulate locations in the simulator. Launch your app in the simulator, click the
Debugmenu option go toLocationand then clickCustom Location…. The simulator should then allow you to enter longitude and latitude.