Reloc
On-Device Virtual Accessory GPS Location Simulator for iPhone & iPad
Built with Swift & Objective-C · 6 Languages (English, Simplified/Traditional Chinese, Japanese, Korean, Arabic) · Accessory-Level Location Injection via Native Virtual Accessory
中文 · English · 日本語 · العربية
---
## Overview
**Reloc** is a standalone, accessory-level GPS location simulator running natively on iPhone and iPad. Using the system `CoreAccessories` framework, Reloc creates a local virtual accessory connection and iAP2 endpoint directly on-device, completes iAP2 link synchronization and MFi-v3 authentication, and streams NMEA-0183 (`$GPGGA` / `$GPRMC`) sentences so iOS accepts live coordinates as a standard external GPS accessory.
**No physical accessory, no PC/Mac, no device pairing file, no loopback proxy/VPN, and no Wi-Fi required** — location injection works completely standalone even over cellular data.
> **Project Status**: Core feature development for Reloc is essentially complete. No major new features are planned going forward; updates will be limited to essential bug fixes and system compatibility maintenance as needed.
---
## Key Features
| Module | Capabilities |
| :--- | :--- |
| **Fixed Pin Location** | Tap-to-pick on map, live viewport-scoped search suggestions (Apple `MKLocalSearch` + OpenStreetMap Nominatim fallback), manual WGS-84 / GCJ-02 coordinate & altitude entry, automatic real terrain elevation lookup, multi-tier reverse geocoding fallback, distance-from-real-GPS readout with >15 km warning, and hot-swapping target pins during an active session |
| **Route Simulation** | Supports **Road Routing** (multi-waypoint road snapping with long-press drag adjustment), **Freehand Drawing** (single-finger track/park loop drawing with automatic smooth loop closure), and **GPX Import/Export** (GPX 1.0/1.1), plus **Mid-Route Start** (drag start progress slider to launch anywhere along a route); includes 4 presets (Walk / Run / Cycle / Drive), live speed control with **pace (`min/km`) display**, realistic pace fluctuation & corner deceleration, optional **brief traffic-light/rest stops**, Single / Round Trip / Closed Loop modes, and **auto-stop by target distance or lap count** |
| **Virtual Joystick** | Dedicated **360° floating virtual joystick** free-roam mode with real-time steering, 4 speed presets plus continuous speed adjustment, and **heading-locked auto-cruise** (continues moving steadily in the locked direction even in the background) |
| **Multi-Source Maps & Datum** | Defaults to native **Apple Maps (`MapKit`)** with accurate Mainland China polygon GCJ-02 ↔ WGS-84 bidirectional correction (zero shift in HK/MO/TW and overseas); includes API-key-free pure WGS-84 tile maps (**Esri Global Street / OpenStreetMap / Esri Global Satellite**); optional ±0.6 m natural micro-jitter and toggleable Dynamic Island / status bar background indicator |
| **On-Device Channel & Anti-Snapback** | Automatic exponential-backoff reconnection on local virtual accessory disconnects; **1-Tap Refresh Location Services** (floating PiP countdown with Auto 7s/18s or custom 7s/15s/30s); built-in safe anti-snapback proxy rules for Surge / Shadowrocket / Loon / Clash / Quantumult X (blocks only `gs-loc`, keeping Apple Maps & search intact) |
| **Long-Running Background Keep-Alive** | Pure native background location mode (no silent audio conflicts or extra power drain), event-driven low-wakeup loop, monotonic clocks immune to wall-clock adjustments, and automatic recovery from transient disconnects or unexpected unsubscriptions |
| **Shortcuts & Automation** | 4 native iOS **Apple Shortcuts (App Intents)**: **Start Virtual Location**, **Start Saved Route**, **Start Location at Coordinates** (WGS-84 / GCJ-02), and **Stop Virtual Location** (all with optional PiP refresh guide toggle); also supports `reloc://start`, `reloc://route`, `reloc://favorite`, and `reloc://stop` URL schemes |
| **Data & Diagnostics** | Saved places with **group tags, keyword search, and full editing (coordinates / altitude / notes)**; **JSON full-library backup/migration with deduplicated merge import**; 6 built-in UI languages (EN / zh-Hans / zh-Hant / JA / KO / AR with full RTL layout); live `CoreLocation` telemetry dashboard and protocol logs |
---
## Comparison with Other Location Solutions
Common standalone, non-jailbreak iOS location tools fall into three main technical approaches: **On-Device Virtual Accessory (Reloc)**, **MitM Network-Location Rewriting (MitM-based Wloc)**, and **Developer Location Simulation (RoamControl, etc.)**. They differ fundamentally in injection layer, prerequisites, system source flags, and policy compatibility:
| Dimension | Reloc (Virtual Accessory) | MitM-Based Wloc (Network Rewriting) | RoamControl (Developer Simulation) |
| :--- | :--- | :--- | :--- |
| **Underlying Mechanism** | Creates a local virtual accessory and iAP2 endpoint via `CoreAccessories`, completes MFi-v3 authentication, and streams NMEA-0183 (`$GPGGA` / `$GPRMC`) | Decrypts `gs-loc` (`/clls/wloc`) over HTTPS via a proxy module or local Packet Tunnel (MitM) and rewrites returned Wi-Fi / cell-tower coordinates | Uses a `LocalDevVPN` loopback tunnel and device pairing to invoke iOS's developer location-simulation service (same path as Xcode `Simulate Location`) |
| **Prerequisites** | Signed app install only; **no PC/Mac, pairing file, VPN/loopback proxy, or CA certificate required**; works standalone over cellular | Requires a third-party proxy app (Surge / Shadowrocket / Loon / Quantumult X, etc.) or built-in Packet Tunnel, plus **installing and fully trusting a custom root CA certificate** | Requires installing and connecting **`LocalDevVPN`** and completing device pairing (some OS versions require a computer for initial pairing) |
| **VPN Slot Usage** | **None** (no proxy needed within 15 km; optional long-distance anti-snapback rules reuse your existing proxy) | **Occupied** (relies on a proxy app or Packet Tunnel to intercept traffic) | **Occupied** (requires keeping the `LocalDevVPN` tunnel active, making it hard to coexist directly with other proxies) |
| **`CoreLocation` Source Flags** | `isProducedByAccessory = true`