在iOS 8和iOS 9中调试移动Safari
切换到新版本的iOS后,我无法将我的网络应用程序从OS X Safari调试到我的iPhone Safari浏览器。我的iPhone显示但我没有选择。
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.
在我的iPhone上,我已经允许网络检查员。
On my iPhone, I have allowed the web inspector.
英语:开发人员 - > Johans iPhone - >没有可检查的应用程序。
English: Developer -> Johans iPhone -> No inspectable applications.
如果我将我的网络应用程序保存到我的主屏幕 - 我可以得到该应用程序的开发人员工具,但这不是我想要的。不幸的是我没有其他iOS / OS X设备可以测试,所以任何帮助都将非常感激。
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.
调试iOS 8移动Safari 需要桌面Safari 7.1 ,这只是适用于OS X 10.9.5或更高版本。
Debugging iOS 8 mobile Safari requires desktop Safari 7.1, which is only available with OS X 10.9.5 or greater.
你是什么需要做的是:
- 更新(通过Apple菜单 - >软件更新)到OS X 10.9.5(如果你还没有) )
- 完成后,您应该会在待处理更新列表中看到Safari 7.1
完成后,您应该能够通过桌面Safari像往常一样进行调试。
Once done, you should see be able to debug as usual via desktop Safari.