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

Unable to install/mount DeveloperDiskImage.dmg #76

Closed uhlhosting closed 3 years ago

uhlhosting commented 3 years ago

Describe the bug Failed to download DeveloperDiskImage.dmg or DeveloperDiskImage.dmg.signature

image

To Reproduce Steps to reproduce the behavior:

  1. Go to 'terminal install via brew'
  2. Click on 'installed app'
  3. Scroll down to 'click the warning button in corner'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Schlaubischlump commented 3 years ago

Hi, thanks for reporting the issue.

This issue has already been addressed. The homebrew version is outdated, since I still need to implement a couple of changes, before submitting a new version. Take a look at #73 and #75. If you download the latest version from the website, which is the nightly build from the release page it should work.

Edit: I keep this issue open to prevent more people from opening the same issue again.

uhlhosting commented 3 years ago

Ok now I am confused what is the right version: Version 0.1.7 (1)

image

This is the latest Beta from December manually downloaded from here now. Send me link to nightly if so.

Schlaubischlump commented 3 years ago

here you go

Like I said, I haven't increased the version number. There is a bug in the current 0.1.7 release. The version above is the development version, which fixed this bug.

uhlhosting commented 3 years ago

Thanks, i got now this: The DeveloperDiskImage for this device could not be mounted. Location spoofing will not work. Is your device locked? . Phone isnt locked.

Schlaubischlump commented 3 years ago

Have you trusted your device ? When you connect your device and try to access it in finder there is a "Trust this device" dialog. You have to enter you passcode. After that, close and reopen LocationSimulator

uhlhosting commented 3 years ago

I did so already.

Schlaubischlump commented 3 years ago

This is indeed a bug, i verified it on my device. Since iOS 14.5 is still in Beta, i won't address this issue until iOS 14.5 is out of beta. Furthermore I can not fix this issue, since this seems to be a bug in libimobiledevice. If the bug is still present when the iOS 14.5 final drops, I will open an issue over there and try to get it fixed.

Edit: I was wrong. This is not a bug in libimobiledevice. This is an issue with the developer disk image. If you download this file, extract it and place it /Users/{USER_NAME}/Library/Containers/com.schlaubi.LocationSimulator/Data/Library/Application Support/LocationSimulator/iPhone OS/14.5/ it should work. Alternatively you wait for the public release candidate. I'm sure the developer disk image will be updated at this point.

uhlhosting commented 3 years ago

Thing is i dont find such a folder com.schlaubi.LocationSimulator in Containers, tested 2 macbooks, is not there.

Schlaubischlump commented 3 years ago

Okay go to finder and press cmd+shift+g. Copy and paste '~/Library/Containers/com.schlaubi.LocationSimulator/Data/Library/Application Support/LocationSimulator/iPhone OS/14.5/'. Press Enter. Does it open the folder ?

uhlhosting commented 3 years ago
image

it sends me to containers folder.

Schlaubischlump commented 3 years ago

Is there any folder in there that contains the word LocationSimulator ?

uhlhosting commented 3 years ago

Nope.

Schlaubischlump commented 3 years ago

Well, this is a problem. Even if the final iOS 14.5 drops you still need to delete the existing beta files, otherwise the new developer disk image won't be downloaded.

Big Sur seems to have changed something regarding the container folders.

Open Terminal and type in the following:

'mdfind LocationSimulator'

It will give you a list of paths containing the name. Either you look through the list yourself or you post it here and I'll take a look.

Edit: I got another idea. Reboot you mac and iOS device. Conmect your device and start LocationSimulator. Let the download finish. The folder should be there.

uhlhosting commented 3 years ago
10:36:42 ⌂9.83 [cosmic:~] 13.073598999999998s % mdfind LocationSimulator     
/Applications/LocationSimulator.app
/Users/cosmic/Downloads/LocationSimulator.app.zip
/Users/cosmic/Library/Application Support/CrashReporter/Intervals_09417E76-59F0-5ABD-BEA3-576E7FCE2DA2.plist
/Users/cosmic/Library/Application Support/LocationSimulator
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/locationsimulator.rb
10:41:03 ⌂10.44 [cosmic:~] % 

Il give the reboot a chance too and give feedback.

Schlaubischlump commented 3 years ago

Did the reboot work? Otherwise try an 'mdfind DeveloperDiskImage.dmg'. If the file was downloaded it needs to be somewhere on your filesystem