iPad connected through USB disappears off Safari Develop menu after a short while on iOS 11

Viewed 6450

iPad is on iOS 11, trying to debug using safari develop menu. I am using a MacBook Pro 2016 on MacOS Sierra. The iPad name appears in the develop menu for about 5 seconds. After this time it disappears.

If I unplug the iPad and re-plug it, the name appears, again, only briefly. Then it disappears again.

Anyone sharing the same issue? Any fixes would be appreciated.

6 Answers

The correct solution is described here:

Safari Web inspector keeps disconnecting

  1. Make sure both Safari on your tethered device and machine are up to date
  2. Disconnect
  3. On your device go to Settings > General > Reset > Reset Location & Privacy
  4. Re-connect

I was having this problem with a very large unminified JS bundle (unminified for faster rebuild time while developing). I got rid of the bundled sourcemap and minified the file, and Safari was able to handle it. It's not an ideal solution, and it only works if the minified file doesn't hit whatever threshold Safari has for blowing up, but it's something.

Related