Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent or detect "Location Simulation" by Xcode on your application in production ? [Big Issue]

I guess this is a huge flaw in iOS .. like currently it's happening for PokemonGo currently the normal users are able to spoof device location to a desired one in non-jailbroken devices .. any idea or workaround to detect location simulation by Xcode ?

like image 204
mustafa96m Avatar asked Aug 03 '16 21:08

mustafa96m


People also ask

How do you change simulate location on iPhone?

To simulate location on a Simulator, select Features menu > Location, then you will see a list of location and movement options you can simulate. A list of location and movement options you can simulate in a Simulator.

What is Core location framework?

Core Location provides services that determine a device's geographic location, altitude, and orientation, or its position relative to a nearby iBeacon device. The framework gathers data using all available components on the device, including the Wi-Fi, GPS, Bluetooth, magnetometer, barometer, and cellular hardware.


1 Answers

Using GPX location spoofing returns -1 for heading and speed - If your are looking for ways to detect spoofing, if the CLLocationManager is providing Lat,Lngs that are moving, but you're not receiving speed or heading, then the likelihood is the location is being spoofed.

like image 104
William George Avatar answered Sep 28 '22 01:09

William George