Why Safari shows “No Inspectable Applications” during remote debugging with iOS 6 device?

前端 未结 13 1178
闹比i
闹比i 2020-12-01 06:55

When I connect my iOS 6 device for remote debugging for testing my mobile web application, The safari develop menu with my device name shows \"No Inspectable Applications\".

相关标签:
13条回答
  • 2020-12-01 07:54

    If you just installed XCode 9, do not forget to install Safari 11, or you will see "no inspecable applications"

    0 讨论(0)
  • 2020-12-01 07:54

    In my case, I had Safari 10.0.2, running on El Capitan and when trying to run apps on the Simulator (iphone 7), I did not even have the Simulator option in the Safari's Develop menu. Updating to Sierra, solved the problem.

    0 讨论(0)
  • 2020-12-01 07:56

    I recently had problems debugging a UIWebView in desktop Safari – and it turns out the problem was with my Xcode configuration for the app. The most recent build had been provisioned for production, rather than for Testing. After re-building the app for Testing, it showed up once more in the Safari Debug menu :-)

    0 讨论(0)
  • 2020-12-01 07:58

    I went to Settings > Safari > Advanced and toggled the Web Inspector switch from on to off to on again. That did it for me!

    0 讨论(0)
  • 2020-12-01 07:58

    I was trying to get this working via the iOS simulator and none of the previously stated answers worked, even though I tried them all. Instead, running the following worked:

    npm install -g ios-sim
    

    After that, once I started the application, the simulator appeared under the Develop menu on Safari.

    0 讨论(0)
  • 2020-12-01 07:59

    If you have private browsing enabled in Settings > Safari, you will not be able to use remote debugging. If you turned off private browsing, it will work like a charm.

    0 讨论(0)
提交回复
热议问题