23

After switching to new versions of iOS, I've not been able to debug my web app from OS X Safari to my iPhone Safari browser. My iPhone shows up but I get no options.

On my iPhone, I have allowed the web inspector.

English: Developer -> Johans iPhone -> No inspectable applications

English: Developer -> Johans iPhone -> No inspectable applications.

If I, however save my web app to my home screen - I can get the developer tools for that app, but it's not what I want at this occasion. Unfortunately I have no other iOS / OS X devices to test with, so any help would be greatly appreciated.

4 Answers 4

13

Though this is an old question, it should be mentioned somewhere in the answer that you actually have to enable remote inspection on the iPhone first before anything will show up.

Go to: Settings --> Safari --> Advanced --> Web Inspector

Enable Web Inspector

0
10

Debugging iOS 8 mobile Safari requires desktop Safari 7.1, which is only available with OS X 10.9.5 or greater.

What you need to do is:

  1. Update (via Apple menu->Software Update) to OS X 10.9.5 (if you haven't already)
  2. Once you've done that, you should see the Safari 7.1 in the list of pending updates

Once done, you should see be able to debug as usual via desktop Safari.

4
  • After updating to 7.1, are you able to debug IOS 7 devices still? I see no console output. Just wondering if you see the same?
    – mrand01
    Sep 30, 2014 at 20:43
  • Good question... and unfortunately I don't have any iOS 7 devices, so I don't know.
    – Josh
    Oct 1, 2014 at 1:20
  • I was in a rush but tried, and from what I could see I got the console outputs that I excepted.
    – jollelj
    Oct 1, 2014 at 6:47
  • If your mobile disappeared from Safari's device inspector in iOS 9 @tabrindle has the correct answer
    – sdude
    Nov 9, 2015 at 1:02
4

Also for iOS 9:

On your mobile device under Settings -> Safari -> Fraudulent Website Warning = OFF [default = ON]

0

Even with OS X 10.9.5 and Safari > 7.1 I wasn't able to debug mobile Safari on an iPad with iOS 8.

It turned out that I had previously rejected a dialog on the iPad that asked whether to "trust this computer". The following steps helped:

  1. Power down device.
  2. Open iTunes on computer.
  3. Connect device to computer.
  4. Respond to computer question to let device access iTunes.
  5. Turn on device.

It will ask you to confirm to trust the computer again. Accept and you should be able to debug as usual.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.