A lightweight solution for modifying Apple's WiFi and cellular tower location coordinates on iOS devices, compatible with popular proxy platforms.
Apple's network location services (gs-loc) determine your approximate location using nearby WiFi networks and cellular towers. The wloc project lets you override these coordinates with custom values, enabling virtual location spoofing without requiring GPS simulation. This works by intercepting and modifying the protobuf responses that Apple's locationd daemon receives when querying WiFi and cell tower data.
Unlike traditional mock location apps that require developer tools or jailbreak access, this solution integrates directly with popular iOS proxy applications like Surge, Quantumult X, Loon, and Stash. When enabled, any app on your device that requests network-based location will receive your chosen coordinates instead of your actual position.
This tool solves several practical problems for iOS users:
The tool supports coordinate input from multiple sources: Apple Maps, Google Maps, Gaode (AutoNavi), Baidu Maps, and direct coordinate text. It handles the tricky GCJ-02 to WGS84 coordinate conversion automatically for Chinese map services, ensuring accurate positioning regardless of the source.
For users concerned about privacy, the parsing service runs entirely server-side without logging or caching, and the worker source code is available for self-hosting if desired.
With over 1,500 stars, wloc has gained significant traction in the iOS customization community for several reasons. First, Apple's tightening location privacy controls have made traditional spoofing methods increasingly difficult, while network-based location remains a viable attack vector.
The timing coincides with iOS 15-17 releases where users discovered that network location responses could be intercepted via MITM proxy modules. This project elegantly packages that technique into ready-to-use configurations for major proxy apps, removing the technical barrier for average users.
The shortcut integration is particularly popular - users can select a location in their preferred map app, share it to the shortcut, and instantly spoof their location without opening separate configuration interfaces. This seamless workflow distinguishes it from clunky alternative solutions.
This tool is ideal for:
You'll need one of the supported proxy platforms and basic familiarity with enabling MITM (man-in-the-middle) interception. The tool works on iOS 15 through iOS 18, though iOS 26+ requires device restart due to Apple's enhanced location caching. No jailbreak or developer tools required - just standard App Store proxy applications.
• Surge: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.sgmodule
• Quantumult X: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.conf
• Loon: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.lpx
• Stash: https://raw.githubusercontent.com/Yu9191/wloc/refs/heads/main/modules/wloc.stoverride
gs-loc.apple.com certificateFor the full setup guide, see the official repository.