Closed AyoubLahyaoui-TomTom closed 1 year ago
Hi @AyoubLahyaoui-TomTom,
sadly this is not possible. Apple does not allow spoofing the speed value. You can only set and reset a location. There is nothing I, or any other software using this API of Apple can do about this. Neither Xcode nor libimobiledevice provide a way to fake the speed value due to the limitations of the fake location API by Apple.
The only way around this is probably jailbreaking your device and writing a tweak to spoof the speed value.
Oh, that's sad to hear but thank you anyway for you quick response.
Is your feature request related to a problem? Please describe. I'm currently working on a navigation app and I often need to mock routes in order to reproduce and fix bugs, the thing is I went through a bunch of location mocker and none of them were able to mock the speed movement of the device by speed of the device I mean the one that we get from CLLocation speed. So my question is do you plan to add support to speed mocking and is it even possible ?
Describe the solution you'd like Add support to speed mocking.
Additional context To get the speed of the device I use CLLocation speed