12

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.

dark_dab0
  • 243
  • 1
  • 3
  • 9

6 Answers6

11

Solved it. Make sure Safari on your Mac is the same version as Safari on your iPad.(iOS version is same as Safari version on iPad)

Hope this helps someone.

dark_dab0
  • 243
  • 1
  • 3
  • 9
  • How do you find out the version on the iPad? TIA – greg Apr 06 '18 at 10:53
  • 1
    @greg "(iOS version is same as Safari version on iPad)" – TheBurgerShot Apr 18 '18 at 08:19
  • Good to know... gah, this means every time we update our dev iPad we have to update our dev Mac along with it. – Paul Kienitz Aug 24 '18 at 16:57
  • carrying out a pending os update in iphone did it for me. Btw, in my case, the iphone name did show in the `Develop` menu but on loading the web inspector for the relevant ios safari tab, the inspector only stayed for a few seconds and then disappeared. – oomer Aug 06 '21 at 22:19
7

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
eschie
  • 194
  • 1
  • 12
1

Connect your iPhone or iPad to your Mac. And then open the Activity Monitor app (Applications > Utilities), or you can use Spotlight.

When you open the App, enter usbd in the search field. And the force quit the process by clicking the X sign. (This is taken from https://macreports.com/iphone-keeps-connecting-and-disconnecting-from-mac-fix/)

airdrumz
  • 429
  • 4
  • 9
0

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.

Jeremiah Orr
  • 2,620
  • 1
  • 18
  • 24
-1

you can try to this the IPad needs to be on the same internet and open the command line to get the ip-address.type the ip-address on the search bar of your IPad and add the semicolons with the port number like this=> 192.62.45:3000. this will load on the index page.if this is not working check your fire-walls that are not blocking the connection turn them off.hope i helped.

joko
  • 39
  • 3
-1

On iPAD

Go to Settings --> Safari --> Advanced

and turn on 'Web Inspector' (toggle on).

SHS
  • 1,414
  • 4
  • 26
  • 43