-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreliable simulate-location with iOS 17 #572
Comments
I just tested this again and this worked fine. Also, when closing the context-manager from the CLI it also reset my location to the original one. |
OK that's weird. This I can (sometimes) get it to work - but when I "clear" (oslogs look like the correct action is being taken at least) my location is very inaccurate for a substantial period of time. Do you see any of these symptoms as well? |
No, I haven't encountered them at least in my setup scenario. I also tried to write a small snippet that sets and then resets the location immediately and it also worked just as expected |
OK - I just tried again (admittedly on head this time) and it works. I am using the USB-C cable that came with a iPhone 15 Pro - as opposed to another USB-C "charge cable" (still Apple, I think). Is this a factor (charge cable v data cable?). Should I expect if I can see I also get some |
The cable isn't supposed to effect anything. If you discovered a bug and you know of a fix then please by any means submit a PR |
I'll put up a PR for the I am on macOS, presuming you're testing on that as well.. I'll prepare a contrast of I see three cases on clearing the location (back to original):
|
Yes, I'm testing on macOS also. Just making sure you know the What macOS version are you using specifically? I know the monterey USB ethernet driver is somewhat unpredicatable. Also, I'm not sure all the scenarios you are encountering aren't bugs on the device-end. Do you have other references you can compare it to? I'll be able to sniff the diff in the protocol messages. |
Yes definitely unrelated - it's just a formatting issue where it fails the pattern match and there is no 'message' to communicate.
I was on Monterey, just switched to Sonoma. I've only attempted once so far, and it did work - but the 'clear' returned my location to low-precision (suburb level) physical locale. But it did come good after while..
Other devices? It is a iPhone 15 Pro on my side, I could try something else.. |
I cannot find reasons why this happens, nor am I sure this is not Apple's own bug. If you can point at another scenario where the issue is fixed I can sniff it and compare. |
I presume you meant clear actually puts the phone in an unable to find current location mode (grey circle in google maps) centred around the simulated location. iOS can have "trouble" finding your real location again if you've been simulating a location far away from your real location. This pre-dates iOS 17 (and many previous versions as well). |
I found out that
but you still can set new location. |
In my case, any command without dvt doesnt work, for example: I can simulate location using:
but not : similarly, I cannot simulate motion, speed etc. because there is no dvt option for the .gpx file:
any fix for this or a workaround?? I'm on iOS 17 btw. |
Why are you seeking a fix or workaround? You need dvt for things to work on iOS 17 due to the changes made. |
the thing is |
any plans for support fake location for ios 17 on windows? @doronz88 |
@lindaamanda123 see #569 |
I am also interested if this feature can be implemented sometime soon for IOS 17. Since simulate-location has been implemented already, I hope this shouldn't be too large of an undertaking. No worries if you are busy. |
Oh the issue here is the GPX file specifically? It's harder to keep track of different issues in the same one. Can you please create another one for that specifically so I can also tag it in a PR? Also, most of pymobile subcommands provide an abstraction to the way the protocol messages are consrtructed. In iOS17 the simulate location works very differently over DVT instead of its own relay in the DDI. |
I would love to learn more about how this project works and the DVT and DDI protocols you just mentioned, any resources you can suggest? |
Is anyone else having
set
work fine, butclear
not do anything?The text was updated successfully, but these errors were encountered: