为什么Web Inspector向我显示“没有可检查的应用程序”? [英] Why is Web Inspector showing me "no inspectable applications"?
问题描述
背景
我的公司最近转向应用开发。虽然Android上的开发和Q / Aing相对无痛,但另一方面,iOS被证明是一种痛苦。
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.
该任务涉及查看我们的应用程序的页面源(具有自定义浏览器)。我听说Web Inspector是一个很棒的工具,所以我选择了它。
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.
问题
- 首先,网络Inspector之前已经能够检测到自定义浏览器。
- 但很常见,Web Inspector的菜单提供了No Inspectable Applications提示。
- 这与先前使用的完全相同的应用版本相同。
- 似乎没有任何触发器;昨天Web Inspector正在使用自定义浏览器,然后几个小时后(我可能已断开连接并重新连接iPhone)它停止工作。
- 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.
观察
我有一台运行iOS 7.0.4的iPhone 4S。我的Mac Mini有Safari 7.0。
I have an iPhone 4S running iOS 7.0.4. My Mac Mini has Safari 7.0.
在手机选项中
-
Web Inspector
在iPhone菜单中打开 - 所有隐私模式都设置为关闭 -
不跟踪,阻止Cookies
等(这个问题) - 手机中的Javascript已开启。
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.
我的Mac Mini上的Safari
- 启用了开发菜单(显然)
In Safari on my Mac Mini - Develop menu is enabled (obviously)
更多观察
- Web检测器检测到iOS Safari。
那我该怎么办呢调试这个?可能是什么原因以及可能的解决方案是什么?
So, how do I go about debugging this? What could be a possible cause and what could be the solution?
推荐答案
我遇到了同样的问题,这是因为我是运行iOS 8,通过将Safari更新为7.1来修复。
I was having the same problem, it was cause I was running iOS 8,fixed by updating Safari to 7.1 .
这篇关于为什么Web Inspector向我显示“没有可检查的应用程序”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!