iFakeLocation icon indicating copy to clipboard operation
iFakeLocation copied to clipboard

Failed to retrieve response after attempting to enable developer mode toggle.

Open dutts opened this issue 1 year ago • 3 comments

I am trying v1.7.0 on MacOS Ventura 13.5.1 with an iPhone 13 running iOS 16.6, if I choose location on the map, ensure my phone is selected in the combo box and click Set Fake Location I get "Failed to retrieve response after attempting to enable developer mode toggle."

dutts avatar Aug 30 '23 09:08 dutts

Has developer mode already been enabled on your iPhone?

Settings > Privacy & Security, scroll down to the Developer Mode.

master131 avatar Aug 30 '23 10:08 master131

Thanks for the quick response, I didn't have developer mode already on, but when I toggled it to on (with iFakeLocation still connected), after the phone reset (to enable developer mode) it worked.

I can consistently reproduce this, both in v1.7.0 release and latest source running in Visual Studio for Mac v17.6.3. This is the workflow that appears to work for me:

  1. Ensure Developer mode toggle is off on phone
  2. Connect phone to Mac
  3. Open iPhoneLocation
  4. Click Refresh to populate combo box with phone
  5. Set a location on map and click "Set Fake Location"
  6. Get "Failed to retrieve response after attempting to enable developer mode toggle." error.
  7. Close error dialog
  8. On phone, enable Developer mode toggle, phone restarts.
  9. After restart, phone prompts if I want to enable Developer mode, select "Turn on".
  10. Back on iFakeLocation, set a location on the map and click "Set Fake Location".
  11. It now works.

Has anyone else encountered this? It's nice to have a work around but it does seem like a bit of a faff. I'm a .net dev so happy to help if you point me in the right direction of where I should be looking in the debugger.

dutts avatar Aug 31 '23 19:08 dutts

To add to this, if I then close iPhoneLocation and leave everything else as is (phone connected, developer mode toggle on etc) then I get an error of "Mount failed with status: N/A and error: ImageMountFailed" if I open iPhoneLocation again, select the phone and try to set a new fake location, (steps 3-5 above)

dutts avatar Aug 31 '23 19:08 dutts