Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/master131/iFakeLocation
Simulate locations on iOS devices on Windows, Mac and Ubuntu.
https://github.com/master131/iFakeLocation
csharp ios macos ubuntu windows
Last synced: 3 months ago
JSON representation
Simulate locations on iOS devices on Windows, Mac and Ubuntu.
- Host: GitHub
- URL: https://github.com/master131/iFakeLocation
- Owner: master131
- License: gpl-3.0
- Created: 2019-03-31T15:43:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-18T22:09:32.000Z (9 months ago)
- Last Synced: 2024-06-27T04:33:41.018Z (5 months ago)
- Topics: csharp, ios, macos, ubuntu, windows
- Language: C#
- Homepage:
- Size: 266 KB
- Stars: 925
- Watchers: 27
- Forks: 170
- Open Issues: 49
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iFakeLocation
![](https://i.imgur.com/ELFifkA.png)
## Requirements:
### Windows:
* .NET Framework 4.5 or newer (pre-installed on Windows 8 & Windows 10)
https://dotnet.microsoft.com/download/dotnet-framework* iTunes (Microsoft Store version or Win32/Win64 is fine)
https://www.apple.com/itunes/download/
* Visual C++ Redistributable for Visual Studio 2015
https://www.microsoft.com/en-us/download/details.aspx?id=48145
### Mac OSX:
* .NET 6.0 Runtime (macOS 10.13 "High Sierra" or newer) - **make sure it's the x64 version, even if you have an M1/M2 Mac**
https://dotnet.microsoft.com/en-us/download/dotnet/6.0### Ubuntu:
* .NET 6.0 Runtime (only dotnet-runtime-6.0 package is required)
https://docs.microsoft.com/en-gb/dotnet/core/install/linux-ubuntu
## Download:
See the [Releases](https://github.com/master131/iFakeLocation/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 issueQ: 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.
```shell
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:
* [idevicelocation by JonGabilondoAngulo](https://github.com/JonGabilondoAngulo/idevicelocation)
* [Xcode-iOS-Developer-Disk-Image by xushuduo](https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/)