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

[BUG] iOS 15 not working #90

Closed Fez92 closed 2 years ago

Fez92 commented 2 years ago

Description Updating iPhone 11 to iOS 15 GM (which from today will be the final version), LocationSimulator is not working. DiskSimulatorImage is dowloaded but cannot be mounted (the device is obviously unlocked)

image

Desktop:

Smartphone:

bslatyer commented 2 years ago

Hey @Fez92,

I've got an iPhone 12 Pro running iOS 15.0 Developer RC working fine with an Apple Silicon Mac on macOS 12.0 Monterey Developer Beta 6.

The Developer Disk Image works when you have an Apple system running Xcode 13 and macOS 12 Monterey and an iOS/iPadOS 15 device.

Please do note that LocationSimulator has not been updated to support iOS/iPadOS 15 Developer Disk Images yet as it's not publicly released yet.

Fez92 commented 2 years ago

Thank you, I didn't know about the Dev Disk Image not published yet. Sorry

Schlaubischlump commented 2 years ago

This is strange... It should work, even if you use macOS 11.0. All LocationSimulator does is download the DeveloperDiskImage from here: https://github.com/pdso/DeveloperDiskImage/tree/master/15.0 and upload it using libimobiledevice.

Since the DeveloperDiskImage is up to date in the repo above and libimobiledevice works with iOS 15.0, LocationSimulator should work as well.

I'm pretty busy lately with work related stuff, but I'll try to have a look and check if it is working for me on iOS 15.0.

bslatyer commented 2 years ago

@Schlaubischlump, mine only works if Xcode 13 is open, otherwise, the app complains about the DeveloperDiskImage not being found.

Other than that, there's no issue for me.

Schlaubischlump commented 2 years ago

It seems like either libimobiledevice is broken or the DeveloperDiskImage on the github repo is wrong.

@bslatyer could you maybe test something for me or send me the iOS 15 DeveloperDiskImage and DeveloperDiskImage.signature files from Xcode ? This way I could verify if I need to open an issue on libimobiledevice or if the DeveloperDiskImage on github is corrupted.

bslatyer commented 2 years ago

@Schlaubischlump I'll send you the DeveloperDiskImage today from Xcode

bslatyer commented 2 years ago

Hi @Schlaubischlump,

Here's the iOS 15 DeveloperDiskImage https://bslatyer-my.sharepoint.com/:u:/g/personal/braeden_braeden_com_au/EfhYMBWNRIJFi5avlMZDRnQBe2FuiPr4NwtNbW_BRGGXgQ?e=iyf0cX

Schlaubischlump commented 2 years ago

Thank you !

Everything is working fine when using your DeveloperDiskImage files. That means the DeveloperDiskImage on the github repo needs to be updated. This is the best case scenario, because that means the problem will just go away over time. I should probably add an option to delete already download DeveloperDiskImages to LocationSimulator, since this will prevent the new download.

bslatyer commented 2 years ago

Hi @Schlaubischlump,

Excellent! Are you able to add an option to use the DeveloperDiskImages from Xcode or from a custom location?

Schlaubischlump commented 2 years ago

I think that should be possible. I might have time on the weekend to take a look how hard this would be to implement.

bslatyer commented 2 years ago

Sounds good, hope it can be implemented.

marvinjoa commented 2 years ago

I had that issue too, and I'm pretty sure a reboot of both, the Mac and the iPhone helped.

MMeldrum commented 2 years ago

For anyone struggling with this, confirm that the DeveloperDiskImage.dmg and DeveloperDiskImage.dmg.signature are different sizes.

I've definitely had the DeveloperDiskImage.dmg.signature file be the same size (and presumably identical contents) to the DeveloperDiskImage.dmg. Manually downloading and overwriting the signature file resolved this.

(If I get time, I'll try looking through the source for the root cause of this. It's a great app and I'd happily help out, despite my lack of Swift experience.)

Schlaubischlump commented 2 years ago

@MMeldrum You are right. The fallback URL inside the DeveloperDiskImage.plist is wrong. The ".signature" extension is missing for the signature fallback URL. Thats why the image is download twice.

I was able to quickly fix it, but I'm still on mobile. I will upload a new build on monday when I have access to my PC.