• Stars
    star
    941
  • Rank 48,574 (Top 1.0 %)
  • Language
    C#
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simulate locations on iOS devices on Windows, Mac and Ubuntu.

iFakeLocation

Requirements:

Windows:

Mac OSX:

Ubuntu:

Download:

See the Releases page.

Running:

Windows:

Run the executable called iFakeLocation.exe.

Mac OSX

Open the DMG and drag the application to the Desktop or Applications folder. Double-click to run the app.

Ubuntu

chmod +x ./iFakeLocation
./iFakeLocation

# or

dotnet ./iFakeLocation.dll

How to make it work on iOS X.X?

If for whatever reason the automatic developer image retrieval doesn't work, you can manually download them to be used in iFakeLocation. Create a folder called "DeveloperImages" (next to the iFakeLocation executable) and inside that folder make a folder for the iOS version you are running (eg. "12.4", "13.0", etc). Download the matching developer images from the following Github repo and unzip the DeveloperDiskImage.dmg + DeveloperDiskImage.dmg.signature file into the folder you created.

https://github.com/haikieu/xcode-developer-disk-image-all-platforms/tree/master/DiskImages/iPhoneOS.platform/DeviceSupport

How to use:

  • Connect your iDevice to your computer. Click the "Refresh" button and select your iDevice from the list.

  • Enter the desired location (ie. Sydney NSW) in the box and hit "Search" (try to be more specific if you are getting strange results).

    You can also manually place a pin on the map by double-clicking anywhere.

  • Click "Set Fake Location". If it is the first time doing this the tool needs to download some files to enable Developer Mode on your iDevice.

  • Confirm your fake location using Apple Maps, Google Maps, etc. To stop the fake location, click "Stop Fake Location". If your device is still stuck at the faked location turn Location Services off and on in Settings > Privacy.

  • Your device will also have a Developer menu now shown in Settings. You can get rid of it by restarting your iDevice.

Help:

Q: My device doesn't show up on the list?
A: Ensure that it is plugged in, you have trusted your PC and that the device is visible on iTunes.

Q: Help, it says that it can't mount the image or some other generic error?
A: Make sure your iDevice is trusted with the PC/Mac and if everything you've tried is not working, usually a reboot of your device will fix the issue

Q: Unable to load shared library 'imobiledevice' or one of its dependencies A: set environment variable DYLD_LIBRARY_PATH to the folder which has the libimobiledevice files, and run the project with specified framework and runtime, e.g.

export DYLD_LIBRARY_PATH=$HOME/iFakeLocation/iFakeLocation/bin/Debug/net6.0/runtimes/osx-x64/native
dotnet run --project ./iFakeLocation/iFakeLocation.csproj --framework net6.0 --runtime osx-x64

Special Thanks: