In Settings -> General -> Location -> Mode
I switched it from Battery Saving to High accuracy , and then the mock location app started working.
Please note that you also need to install your preferred Mock Location application in the developerโs settings, but even after that, my application showed my true location, not the mock location - now it works like a champion!
source share