I am having an application in which users need to visit particular locations. When users are nearby to this location a form is being open to fill. I have doubt that some users are spoofing their current locations(using any other application) and filling form at their home. Means fooling to my application.
I searched on Apple store and there is no application available for GPS spoofing or the application which can spoof location coordinates for other application in the iOS device.
I googled it and found that spoofing is possible on Jailbroken devices and some applications are available on Cydia store like "akLocationX", "Fake Location" etc. Below is the article on the same.
http://www.addictivetips.com/ios/easily-fake-iphone-current-location-aklocationx/
Could anyone help me, how can I stop this location spoofing on Jailbroken devices?
The other posters are correct, one great way to check is to verify if the device is jailbroken.
But, even if the device isn't jailbroken, it is still possible to fake the GPS location with a nearby GPS transmitter. So let's assume (although it is highly unlikely), that your user has this.
Technically, it is possible to detect if the GPS location is fake or not. However, your ability to do so is dependent on if the person faked other information as well such as nearby Wifi networks, or their external IP (such as using a VPN).
Reference: GPS Jamming Devices
You can detect the wireless networks nearby and then lookup their locations and compare that to the one reported by your GPS. There are a couple of issues however.
Keep In Mind
References:
You can connect to an online service which returns your location information based on your IP. You can then compare this to the GPS location which you were provided.
This will get through the app store review process, however...
Keep In Mind
References: