Schlaubischlump / LocationSimulator

MacOS application to spoof / fake / mock your iOS / iPadOS or iPhoneSimulator device location. WatchOS and TvOS are partially supported.
https://schlaubischlump.github.io/LocationSimulator/
GNU General Public License v3.0
2.39k stars 184 forks source link

Differentiate DeveloperDiskImage download for different devices #45

Closed Schlaubischlump closed 3 years ago

Schlaubischlump commented 3 years ago

WatchOS and TvOS use different DeveloperDiskImages. We need to find a way to differentiate the kind of device connected and decide based on that which DeveloperDiskImage to download. iDeviceInfo provides a way to read the device model maybe the version number also includes this info. That should be enough to identify the kind of device. Each DeveloperDiskImage should be placed in a subfolder e.g:

iOS/14.2/ watchOS/7.1/ iPadOS/... (This can be the same as iOS) TvOS/...

Currently watchOS and TvOS are not supported. You have to upload the DeveloperDiskImage before starting LocationSimulator.