Schlaubischlump/LocationSimulator

[BUG] Can't change the location on device (iPhone 14 / iPhone 14 Pro)

Esco8 opened this issue · 14 comments

Esco8 commented

When I try to change the location on my device from the LocationSimulator app, google maps on my iPhone is completely unaffected. However, on the mac it reads as if it had worked - no error message at all.

Currently using:

  • macOS: 12.5.1 Monterey
  • Device: iPhone14 / iOS16.1.2

Additional context
Was working fine, until I decided to update my device's iOS (I think it was 16.1 before the update).

Also worth mentioning, the app works perfectly fine with my other device: iPhone6s / iOS15.7.1, so I assume something happened during the update.

I have tried refreshing the DiskImages, reseting location services, reseting developer mode, restarting the device and a few other things.

I've also tried browsing through the issues forum, but couldn't find one that matched mine or that provided a solution that worked for me. However, if I missed it I do apologize.

Thanks in advance.

I'll update my iPhone 13 mini and see if I can reproduce the error. Does the LocationSimulator log contain any errors ?

Edit: I can not reproduce the error on my iPhone, but I remembered that someone else already mentioned this bug. You can take a look at this discussion:

#144

Can you check if everything works as expected if you enable airplane mode ?

Esco8 commented

I'll update my iPhone 13 mini and see if I can reproduce the error. Does the LocationSimulator log contain any errors ?

Thanks, and no the last error I could find in the log was about 2 months ago when I getting the "Error changing location" message. I had just purchased the iPhone 14, and I couldn't find Developer Mode at the time to turn it on. I fixed the issue then with Xcode, and it worked fine until now.

Esco8 commented

I'll update my iPhone 13 mini and see if I can reproduce the error. Does the LocationSimulator log contain any errors ?

Edit: I can not reproduce the error on my iPhone, but I remembered that someone else already mentioned this bug. You can take a look at this discussion:

#144

Can you check if everything works as expected if you enable airplane mode ?

Yes, it does work on airplane mode. Goes back to not working after it's turn off though.

Darn, just read the thread. So no solution?

For the moment there is sadly no solution :/ I'll keep the issue open. Maybe this is an oversight on apples part an will be fixed in an upcoming update or it is some kind of new security measurement. It seems to only affect iPhone 14 devices.

I don't have an iPhone 14, otherwise I could check if the location simulation inside Xcode is affected as well. If this is the case, it is most likely a bug on apples end. If this is not the case it is most likely a problem with the libimobiledevice version I'm using.

Esco8 commented

For the moment there is sadly no solution :/ I'll keep the issue open. Maybe this is an oversight on apples part an will be fixed in an upcoming update or it is some kind of new security measurement. It seems to only affect iPhone 14 devices.

I don't have an iPhone 14, otherwise I could check if the location simulation inside Xcode is affected as well. If this is the case, it is most likely a bug on apples end. If this is not the case it is most likely a problem with the libimobiledevice version I'm using.

Thanks for your help. I'll keep checking back to see if a solution is found.

Does the problem still exists on iOS 16.2?

Esco8 commented

Does the problem still exists on iOS 16.2?

Just finished installing, but ran into "DeveloperDiskImage download failed"

The download links are not yet up to date. You can manually download the Developer Disk Image and signature file from here: https://github.com/mspvirajpatel/Xcode_Developer_Disk_Images/tree/master/Developer%20Disk%20Image/16.2

You can add the image file by opening the preferences of LocationSimulator. There is a DeveloperDiskImage tab that allows you to manually add an entry for 16.2.

Esco8 commented

The download links are not yet up to date. You can manually download the Developer Disk Image and signature file from here: https://github.com/mspvirajpatel/Xcode_Developer_Disk_Images/tree/master/Developer%20Disk%20Image/16.2

You can add the image file by opening the preferences of LocationSimulator. There is a DeveloperDiskImage tab that allows you to manually add an entry for 16.2.

I got the disk image, but can you double check the signature file. I think the link is broken, or am I missing something?

Screen Shot 2022-12-17 at 7 28 38 PM

Just click on "raw" in the top right. Github tries to preview the file incorrectly.

Esco8 commented

I did, but won't work :(

Screen Shot 2022-12-17 at 7 35 46 PM

Archive.zip

Try this download link

Esco8 commented

Archive.zip

Try this download link

Yes, this link did work. Thank you.

And yes, it's working as expected. No airplane mode is required. Seems it was an issue on Apple's end all along. Thanks again!

Great to hear !