How to set fake GPS location on IOS real device

Maksim Alekseychik picture Maksim Alekseychik · Feb 20, 2014 · Viewed 147.3k times · Source

Currently I have to test app and set the different fake GPS locations on real IOS 7 devices. On Android I use 'My Fake Location'. Unfortunately, I didn't find the same app for IOS 7. Any ideas to solve my problem?

Answer

SolidSun picture SolidSun · May 20, 2014

When running in debug mode you can use the little arrow button in the debug area (Shift+Cmd+Y) in Xcode to specify a location. There are some presets or you can also add a GPX file.

Specify debug location

You can generate GPX files here manually: http://www.bikehike.co.uk/mapview.php (from answer: https://stackoverflow.com/a/17478860/881197)