Why is Web Inspector showing me "no inspectable applications"?

23,664

Solution 1

I was having the same problem, it was cause I was running iOS 8,fixed by updating Safari to 7.1 .

Solution 2

An update for iOS 9 (using OSX El Capitan):

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

Solution 3

For me to make it work I needed to go into iPhone's Settings -> Safari > Advanced and enable Web Inspector option. (iOS 9.1)

Solution 4

I was having exactly same trouble. I managed to correct the situation by clearing the cookies and history from the mobile Safari menu. After this, it showed up in the Mac Develop menu.

Hopefully this will correct your situation as well.

Solution 5

this is probably an oversight where someone forgot to include the ios 8 version of Mobile Safari as an inspectable application. Get with it guys. I was able to connect my iPad to a MacMini we have with Yosemite Beta.

So I have also discovered that the web inspector in Yosemite Beta doesn't inspect well. I am able to Breakpoint in Javascript, but items are not inspectable in the inspection pane. The console does report correct information. Don't be fooled as I was! To inspect the value of something in this web inspector you must access the values via the console, type in the variable and it will return the result it has correctly.

Share:
23,664
Vish
Author by

Vish

Hey there, I'm Vish. I love learning. I love learning to learn. And I try to keep learning. At work I have been at startups for most of my life, and done QA, Automation Development, Technical Marketing, Customer Support, and Product Management. I started cultivating a DevOps mindset a few years ago, and have been instrumental in moving teams to a DevOps mindset wherever I go. I love tools, and I love educating people about using tools and automation. I love to roll up my sleeves and write useful code. I find problems before they happen, and fix them before they become a problem. I talk (and write) about tech with anyone that will listen (or read). After work I love all things tech (APIs, mobile app development, rooting etc.) I whip up new dishes in the kitchen. I tend to our small (but growing) garden. I look for the next intriguing novel to read or the next critically-acclaimed movie to watch. I travel on a budget with my wife and my camera. (not in any order of preference).

Updated on July 09, 2022

Comments

  • Vish
    Vish almost 2 years

    Background

    My company recently made a shift to app development. While developing and Q/Aing on Android was relatively painless, iOS, on the other hand is proving to be a pain.

    The task involves looking at the page source of our app (which has a custom browser). I heard that Web Inspector is a great tool, so I went with it.

    Problem

    • First of all, Web Inspector has been able to detect the custom browser before.
    • But quite frequently, Web Inspector's menu gives the "No Inspectable Applications" prompt.
    • This happens with the exact same version of the app that worked earlier.
    • There seems to be no trigger whatsoever; yesterday Web Inspector was working with the custom browser, and then after a few hours (during which I may have disconnected and reconnected the iPhone) it stopped working.

    I have not been able to figure out why despite breaking my head for a week.

    Observations

    I have an iPhone 4S running iOS 7.0.4. My Mac Mini has Safari 7.0.

    In the phone options

    • Web Inspector is turned on in the iPhone menu
    • All privacy modes are set to off - Do Not Track, Block Cookies, etc. (this question)
    • Javascript is turned on in the phone.

    In Safari on my Mac Mini - Develop menu is enabled (obviously)

    More observations

    • iOS Safari is detected by Web Inspector.

    So, how do I go about debugging this? What could be a possible cause and what could be the solution?

  • Vish
    Vish about 10 years
    Thanks for the answer. I did try that earlier, but it didn't help.
  • Ardo K
    Ardo K over 9 years
    Yep, it keeps telling me No Inspectable Applications even though I have cleared cookies and everything.
  • Quadrivium
    Quadrivium over 9 years
    I suspect that you have XCode 6.x.x on your mac and that's using it's own inspector, or allowing the inspection, when it is running.
  • Liam
    Liam over 9 years
    Turns out I just needed to update Safari on my Mac to 7.1 in order to debug on my iPad running iOS 8.
  • Shwaydogg
    Shwaydogg over 9 years
    Thanks Liam, the first thing I did was update OSX and check for other updates, said no updates but I was still at 7.0.6! ... check back and the update is there. Updated to 7.1, cleared mobile browsing data once more and in business!
  • Quadrivium
    Quadrivium over 9 years
    So Apple did fix the problem with an update to Safari for Mavericks a couple days later.
  • leonprou
    leonprou about 9 years
    I had a problem that sometimes I was able to debug my application and other times I wasn't. I had to reboot my Mac every time to enable debug. This seems to solved my issue.
  • Claude Houle
    Claude Houle about 9 years
    From what I learned, it seems that when the ipa is signed with a distributor certificate, the web inspector, even is activated is disabled for all embedded web-views. If signed with a developer certificate (as it is done when deploying from the source in xcode), it works.
  • Vish
    Vish over 8 years
    As mentioned in the question, web inspector was already enabled in the iPhone settings.
  • Mickey Sly
    Mickey Sly over 7 years
    @Shadow_x99 thanks for this...this is probably my problem. Do you know of anyway around this? Right now I'm having an issue where a bug seems to appear only when its deployed via the distribute certificate...and I can't inspect it to see whats going on.