Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DennisBlah

macrumors 6502
Original poster
Dec 5, 2013
485
2
The Netherlands
Hi all,

is it possible to overwrite my GPS location?
Something like, Debug -> Simulate location
But then from inside the app itself?

If an private api might work, can someone please point it out?

Thanks in advance!
 
Are you trying to modify the GPS position as reported to all apps? Definitely not something Apple is going to allow public frameworks. If you want this for your own app, simply report any gps position you like. ;)
 
Are you trying to modify the GPS position as reported to all apps? Definitely not something Apple is going to allow public frameworks. If you want this for your own app, simply report any gps position you like. ;)
Hi Albebaubles,

I don't want it to the appstore, I'd like this function for myself without the need of a jailbreak.
How can I report the GPS location without the need of xcode?
 
i'm sure its something small
it is possible without jailbreak.
There are apps for ingress as example
That I can sign with my own account and install, which on its turn overrides the real gps with fake/simulated coordinates
 
i'm sure its something small
it is possible without jailbreak.
There are apps for ingress as example
That I can sign with my own account and install, which on its turn overrides the real gps with fake/simulated coordinates
Dude...I'm telling you...this is definitely NOT possible without a jailbreak. It's as simple as that. This isn't just 'something small', it's a major security restriction of iOS, and the only way to alter your GPS location (which provides GPS data to apps via CLLocationManager) is via a jailbreak.
 
I'm gonna give it try :) thaknks!
If you are just doing this for your own app, you can just input the lat/long coordinates without needing to subclass anything. Just use it as your pretend data.

But keep in mind this would ONLY be for your app, it will have zero effects on other apps.
 
If you are just doing this for your own app, you can just input the lat/long coordinates without needing to subclass anything. Just use it as your pretend data.

But keep in mind this would ONLY be for your app, it will have zero effects on other apps.
Just using it for scamming some people ;)
using facebook twitter etc integration it does pick up these coordinates ;)
thanks!
 
What you are asking used to be available on Android (Google) phones. Then "they" decided to put an an end to it with an update. After some messing around with their code, we were able to change it back. It is not easy to do although I can tell you that it is possible. So I would assume the same with IOS although we never tried to reassemble that part of the code.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.