master131 / iFakeLocation

Simulate locations on iOS devices on Windows, Mac and Ubuntu.
GNU General Public License v3.0
977 stars 174 forks source link
csharp ios macos ubuntu windows

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:

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: