Schlaubischlump
LocationSimulator
Swift

MacOS application to spoof / fake / mock your iOS / iPadOS or iPhoneSimulator device location. WatchOS and TvOS are partially supported.

Last updated Jul 7, 2026
3.0k
Stars
229
Forks
26
Issues
+19
Stars/day
Attention Score
95
Language breakdown
No language data available.
โ–ธ Files click to expand
README
[!WARNING]
iOS 17 and later are not currently supported.
For more details, click here.
[!NOTE]
Beta versions of iOS/iPadOS/tvOS are not supported.

LocationSimulator

Donate License

LocationSimulator is a macOS app that allows spoofing the location of an Apple device (iOS, iPadOS, tvOS). The target audience for this project is developers who want to test their location-service-based application(s). I do not encourage using this application to cheat in iOS games, and I do not provide support for these games. If you use this application outside of the intended purposes, you are on your own.

LocationSimulator screenshot

๐Ÿ“š Table of Contents

- Requirements - Build the app - Start spoofing - Moving - Stop spoofing

Background

While I originally planned to build on the fantastic work of Watanabe Toshinori's LocationSimulator, I decided to recreate the whole project because the original lacked a license at the time (August 2019). I created all necessary images and source code files and removed all third-party binary dependencies except for libimobiledevice. The project uses several Swift packages (listed under Build) but no longer requires Xcode to be installed at runtime. You need the DeveloperDiskImage.dmg and DeveloperDiskImage.dmg.signature files for your iOS version.

Features

  • Spoof the iOS device location without a jailbreak or installing an app on the device.
  • Spoof the iPhoneSimulator device location.
  • Automatically try to download the DeveloperDiskImage files for your iOS version.
  • Set the device location with a long-click on the map.
  • Support custom and predefined (Walk/Cycle/Drive) movement speeds.
  • Control the movement using the arrow keys.
  • Navigate from the current location to a new location.
  • Support network devices.
  • Search for locations.
  • Support dark mode.
[!NOTE]
LocationSimulator will try to download the corresponding DeveloperDiskImage.dmg and DeveloperDiskImage.dmg.signature for your iOS version from GitHub, since I cannot legally distribute these files. If the download does not work, get the files by installing Xcode and copying or linking them to:
>
> ~/Library/Application Support/LocationSimulator/{YOURPLATFORM}/{MAJORYOURIOSVERSION}.{MINORYOURIOS_VERSION}/
> >
YOURPLATFORM might be iOS (iPhone and iPad), watchOS (Apple Watch), or tvOS (Apple TV). MAJORYOURIOSVERSION might be 14 and MINORYOURIOS_VERSION might be 3 for a device running iOS 14.3.
>
As of v0.1.8, this folder has moved to:
>
> ~/Library/Containers/com.schlaubi.LocationSimulator/Data/Library/Application Support/LocationSimulator/
> >
As of v0.1.9, you can manage these files using the DeveloperDisk preferences tab.

Install

Download the latest release build from GitHub to get the latest changes, or install via Homebrew:

  • Install Homebrew by entering the following command in your terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install LocationSimulator with Homebrew using:
brew install --cask locationsimulator

Build

Since this project has grown quite large over time, I have exported some of the code to other packages. The list below contains all additional projects I created to make this project possible. They should all be downloaded automatically by Swift:

  • LocationSimulator-Localization: The LocationSimulator localization files.
  • LocationSimulator-Help: The LocationSimulator helpbook you see when you click on Help -> LocationSimulator Help.
  • LocationSpoofer: The backend code used to spoof the location of iOS or iPhoneSimulator devices.
  • XCF: The low-level frameworks used by LocationSpoofer.
  • CLogger: A C / Objective-C / Swift logging library used by LocationSpoofer and LocationSimulator.
  • SuggestionPopup: A simple Apple Maps-like popup list UI written for AppKit to search for locations.
  • Downloader: A simple Swift library to download files from the internet more easily.
  • GPXParser: A simple Swift library to parse GPX files.

Requirements

  • macOS 10.15+
  • macOS 11.x+ SDK
  • Swift 5.0+
  • Swift Tools 5.2+
  • jekyll (required to build the helpbook; a symlink of jekyll to /usr/local/bin/jekyll is expected)

Build the app

  • Install the latest Xcode from Apple. (Using the App Store is the easiest way)
  • Clone this repository:
git clone --recurse-submodules https://github.com/Schlaubischlump/LocationSimulator
  • Open LocationSimulator.xcodeproj in Xcode.
  • Let Xcode resolve all dependencies.
  • Tap Run to build and execute the app.

Usage

[!TIP]
If you use iOS 16 or later, you need to enable Developer Mode first. The Developer Mode option should appear in Settings the first time you try to use your device with LocationSimulator, after you receive a warning that you must enable Developer Mode. You can read the following issue for more information.

๐Ÿ Start Spoofing

  • Connect the iOS device to your computer via USB or Wi-Fi.
  • Select the device in the sidebar.
  • Long-click the point you want to set as the current location on the map.

๐Ÿ‘Ÿ Moving

  • Click the walk button at the bottom left corner of the map. Drag the blue triangle to change the direction of movement.
Walk button
  • Long-press the walk button to enable auto move. Click again to turn off auto move.
Auto move button
  • Long-click on a new point on the map while you are spoofing the location to show the navigation prompt, or select the menu item to set the coordinates manually.
Navigation prompt
  • Use the left and right arrow keys to change the direction of movement. Use up and down to move. Press space to stop the navigation.

๐Ÿ›‘ Stop Spoofing

  • Click the reset button.
Reset button

[!TIP]
Follow the provided steps to enable spoofing over Wi-Fi.

๐Ÿ“ถ Network Access

After you set up syncing with the Finder over USB, you can configure the Finder to sync to your device over Wi-Fi instead of USB.

  • Connect your device to your computer with a USB cable, then open a Finder window and select your device.
  • Select "Show this [device] when on Wi-Fi."
  • Click Apply.
When the computer and the device are on the same Wi-Fi network, the device appears in the Finder. The device syncs automatically whenever it's plugged in to power.
โš™๏ธ Make sure that LocationSimulator โ†’ Preferences... โ†’ Network โ†’ Allow network devices is enabled.

License

The whole project is licensed under the GNU General Public License version 3 unless specified otherwise in the specific subdirectories.

Contribute

Since I maintain this project in my free time, I always appreciate any help I get. Even if you are not a programmer and do not know anything about coding, you can still help out. It would be great if more languages were available - if you know another language and are willing to invest some time, please open a translation request! You can find the existing localization files here. I want this software to be as stable as possible; if you find any bugs, please report them by opening a new issue. If you are a programmer, feel free to contribute bug fixes or new features. Please run SwiftLint on your code before submitting pull requests.

While you are here, consider leaving a GitHub star - it keeps me motivated.

Donate

Donations are always welcome! I will use the money to develop the software in my free time further and to fund the Apple Developer Membership to notarize the app. You can donate via PayPal or Ethereum, either from inside the app (Help โ†’ Donate... or LocationSimulator โ†’ Preferences โ†’ Info โ†’ Donate) or via the GitHub sponsor button on this page.

๐Ÿ”‘ Apple Developer Program - Each year, every Apple Developer must pay a fee to Apple to sign their applications and access certain developer resources. If your application is not signed, the user will see numerous warnings that the program is malicious, and might need to grant special permissions to start the app.

๐Ÿ–ฅ๏ธ Parallels Desktop for Mac - To verify that LocationSimulator works on older macOS versions, I need to be able to run it on all of them. Since I only have a single Mac, I use Parallels Desktop for Mac to run multiple older versions of macOS simultaneously.

๐Ÿ” Hopper Disassembler - Hopper is a disassembler for macOS and Linux. You need to disassemble a program if the source code is closed-source, but you still want to figure out how it works. I often need a disassembler to reverse-engineer Apple's source code, e.g., when they change the API to interact with the iOS Simulator. Currently, I'm using the free version of Hopper, which requires a restart every 30 minutes. The commercial version does not have this limitation.

Enhancements

Look at the Projects tab to see a list of planned features for the next releases.

Acknowledgements

ยฉ 2026 GitRepoTrend ยท Schlaubischlump/LocationSimulator ยท Updated daily from GitHub