# iap2loc [中文](README.md) · **English** · [日本語](README.ja.md) A cross-platform iOS location changer client for **Windows 10/11 x64**, **macOS Apple Silicon (arm64) / Intel (x64)** and **Android 8.0+**. It sends location information (NMEA) to iOS devices over the iAP2 protocol and provides a local web console for device management, map-based location picking, and parameter configuration. > [!IMPORTANT] > ## Support all versions of iOS 12.X - 27.X > Tested and passed on iPhone 6 (iOS 12.5.8), iPhone 11 (iOS 26.6), iPhone 17 (iOS 27.0) > > Lower iOS versions may also be available but have not been verified > ### ⚠️ For iOS 26 and above: > Starting with iOS 26, Apple has modified the location fusion algorithm and location data caching. On devices running iOS 26 or later, you must [refresh the device's location cache](#switch-the-location-source-on-the-device) for the adjusted location settings to take effect. The "Route Mode" may become unavailable when Wi-Fi or cellular data is enabled. ## Downloads and system requirements Get the matching build from [Releases](https://github.com/D1ngtalk/iap2loc/releases), or [build from source](#building-from-source-and-ci). | Platform | Build artifact | Requirements | |---------------------|-----------------------------------|------------------------------------------------------------| | Windows 10/11 x64 | `iap2loc-windows-x64.exe` | Paired Bluetooth device, MFi credentials | | Windows 10/11 x64 | `iap2loc-windows-x64-bundled.exe` | Paired Bluetooth device (no credential files required) | | macOS Apple Silicon | `iap2loc-macos-arm64.dmg` | macOS Bluetooth permission, paired device, MFi credentials | | macOS Intel | `iap2loc-macos-x64.dmg` | macOS Bluetooth permission, paired device, MFi credentials | | Android 8.0+ | `iap2loc-android.apk` | Android phone with Bluetooth, MFi credentials; guided setup in the app, see [README-Android.md](README-Android.md) (Chinese) | Release builds are self-contained and normally do not require a separate .NET installation; building from source requires the **.NET 10 SDK**. The macOS build is ad-hoc signed and **has not been notarized with an Apple Developer ID**. Only approve it through System Settings when you trust the build source, and do not disable Gatekeeper globally. ## Quick start 1. **Install**: On Windows, run the downloaded EXE. On macOS, open the DMG for your architecture, drag the app into Applications, and allow access under **System Settings → Privacy & Security → Bluetooth**. 2. **Pair**: Pair your iPhone in the operating system's Bluetooth settings. 3. **Open the console**: Launch the application and visit on the same machine. A phone or another computer on the same LAN can open `http://:8737/`. 4. **Connect a device**: Add your iOS device under **Devices** and make sure its connection status becomes **Authenticated**. 5. **Set coordinates**: Pick a location on the map, or use [Path mode](#path-mode). Adjust the parameters and click **Apply Changes**. Whether the device's location ultimately changes depends on iOS location fusion. > [!IMPORTANT] >### Switch the location source on the device: > > 1. **Turn off Wi-Fi, cellular data, and Location Services.** Wait > ten seconds, then turn Location Services back on — do not turn > Wi-Fi on yet. > 2. **Open Maps** and confirm the location source has switched to > iAP2. The blue dot should land on the configured coordinates > rather than the device's actual location. > 3. **Turn Wi-Fi on, but keep cellular data off.** Wait for the > location to stabilize, then turn cellular data back on. > > **If the location still cannot be changed after repeating these > steps:** In some cases, cached data from other location sources > can make Maps show an approximate-area circle and the message > "Unable to determine your location." If so, **turn off Wi-Fi, > cellular data, and Location Services** and **restart the device**. After > restarting, connect over Bluetooth and set the coordinates again, > then resume from step 2. ## Features - **Android app**: The same web console, config format and features in a standalone app, plus a first-run guide (permissions, MFi import, pairing, connection test, iPhone steps), a foreground service for background streaming and a bundled offline map library. See [README-Android.md](README-Android.md). - **Cross-platform transport**: Windows Bluetooth; macOS IOBluetooth/SDP/RFCOMM. - **Web console**: Device list, connection sessions, point and path modes, real-time adjustments, and multi-device management; the layout adapts to narrow screens, and the console log can be expanded at the bottom of the panel under Advanced. - **Maps and coordinates**: OpenStreetMap WGS-84 / Amap GCJ-02, automatic coordinate conversion, and saved locations. - **Point mode**: Pick a coordinate directly on the map, or enter the target latitude and longitude. - **Path mode**: Build a polyline on the map or import a GPX file; a GPX with `