craigcoles / LocationSimulator

Mac application to spoof your iOS device location.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: GNU General Public License version 3

LocationSimulator

LocationSimulator is a macOS app (10.15.x / 11.x) which allows spoofing the location of an iOS device. The main target audience of this project are developers who want to test their location service based application. Of course you might as well use this app to spoof your location inside PokemonGo, but don't blame me if you get banned. The method used to spoof your location is basically the same used by PokemonGo Webspoof (except that Xcode is not required) or iSpoofer.

LocationSimulator screenshot

Background

While I originally planed to build upon the fantastic work of Watanabe Toshinoris LocationSimulator I decided to recreate and change the whole project because of the projects (back then) missing license. I created all necessary images and source code files and removed all dependencies except for libimobiledevice. Even Xcode is not required anymore. You just 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.
  • Automatically try to download the DeveloperDiskImage files for your iOS Version.
  • Set the device location with a long click on the map.
  • Support 3 movement speeds (Walk/Cycle/Drive).
  • 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 can not legally distribute these files. If the download should not work, get the files by installing Xcode and copy or link them to:

~/Library/Application Support/LocationSimulator/{YOU_PLATFORM}/{MAJOR_YOUR_IOS_VERSION}.{MINOR_YOUR_IOS_VERSION}/

YOU_PLATFORM might be iPhone OS (iPhone and iPad), Watch OS (Apple Watch) or Tv OS (Apple TV). MAJOR_YOUR_IOS_VERSION might 14 and MINOR_YOUR_IOS_VERSION might be 3 for a device running iOS 14.3.

As of v0.1.8 this folder moved to:

~/Library/Containers/com.schlaubi.LocationSimulator/Data/Library/Application Support/LocationSimulator/

Install

  1. Install homebrew by entering the following command in your terminal:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  2. Install LocationSimulator with homebrew using:

    brew install locationsimulator

Build

Requirements

Build the app

  1. Install the latest Xcode developer tools from Apple. (Using the AppStore is the easiest way)

  2. Install the latest version of libimobiledevice (and thereby all it's dependencies as well) with homebrew:

    brew install libimobiledevice
  3. Clone this repository:

    git clone --recurse-submodules https://github.com/Schlaubischlump/LocationSimulator
  4. Open LocationSimulator.xcodeproj in Xcode.

  5. Tap Run to build and execute the app.

Note:
If you want to build a standalone application which can be copied to another Mac without installing the dependencies choose the LocationSimulator scheme and switch the configuration to Release before running. If you do not want to bundle the dependencies, but want to create a release build choose the Homebrew scheme.

Usage

Start spoofing:

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

Moving:

  • Click the walk button at bottom left corner of the map. Drag the blue triangle to change the direction of movement.
  • Long click the walk button to enabled auto move. Click again to disable auto move.
  • 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.
  • 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.

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 freetime, 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. Currently this project is only available in English and German. It would be great if more languages were available. If you know any other language and you are willing to invest some time to help with the translation let me know here! I want this software to be as stable as possible, if you find any bug please report it by opening a new issue. If you are a programmer, feel free to contribute bug fixes or new features. It would be greate if you run swift-lint on your code before submitting pull requests.

Enhancement ideas

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

About

Mac application to spoof your iOS device location.

License:GNU General Public License v3.0


Languages

Language:Swift 89.0%Language:C 11.0%