I tried detecting fake locations using CLLocationSourceInformation.isSimulatedBySoftware, but it doesn’t work with spoofing tools like iTool AnyTo. It never gets flagged as simulated. Is this a limitation of the API, and is there any recommended way to detect virtual location tools on real devices?
Why does isSimulatedBySoftware not detect fake locations from tools like iTool AnyTo on real devices?
It is not possible to know how every single spoofing tool works and goes around CoreLocation'
Please file a Feedback Report, explain the tool used, details on where it is obtained, and attach a diagnostic log for locations demonstrating the problem.
Please go to https://developer.apple.com/bug-reporting/profiles-and-logs/ and follow the instructions for Location Services for iOS to install a logging profile on your device. Then reproduce the issue, and follow the instructions at the above link to create a sysdiagnose. And attach that to the Feedback report as well.
Then please report back the Feedback ID here so we know where to find it.