Phonegap iOS Safari调试工作流 [英] Phonegap iOS Safari debug workflow

查看:148
本文介绍了Phonegap iOS Safari调试工作流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用类似的工作流程测试了Phonegap Build:

I've been testing out Phonegap Build, using a similar workflow as outlined here:

教程:开发PhoneGap应用程序

我可以构建并部署到我的设备,调试以通过Safari工作,如以下答案中所述:

I can build, and deploy to my devices, but cannot get remote debugging to work through Safari, as described in the answer here:

你能告诉我是Phonegap iOS应用程序中的调试过程吗?

我没有问题通过移动浏览器调试应用程序,但安装的应用程序本身不会显示在Safari的开发菜单中。

I have no problems debugging the app through the mobile browser, but the installed app itself does not show up in Safari's develop menu.

我通过xCode将我的应用程序转移到我的手机,启用调试在Phonegap构建接口,但Weinre调试服务似乎被关闭。

I am transferring my app to my phone through xCode, and have enabled debugging in the Phonegap build interface, but the Weinre debug service seems to be down. Ideally I'd like to get this working through Safari, could anyone share their debug workflow?

感谢

推荐答案

当你说原生应用程序,你实际上是指Phonegap应用程序部署到您的设备?

When you say "native app", you actually mean the Phonegap app deployed to your device?

这是我怎么做。它适用于iOS模拟器和实际设备:

Here is how I do it. It works on both iOS Simulator and actual device:


  1. 打开设置> Safari>高级并确保启用了Web Inspector >
  2. 使用Xcode连接设备并部署Phonegap应用

  3. 等待应用启动并导航到桌面上的Safari,然后在开发菜单

这篇关于Phonegap iOS Safari调试工作流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆