weinre with iPhone simulator

*爱你&永不变心* 提交于 2019-12-04 03:01:50

whitelist support was recently added to phonegap. see here and here.

to fix this, you just need to add the needed domains in your PhoneGap.plist to your ExternalHosts-Array.

In your case, it would be localhostand would look like this:

just code, because can't post an image:

<key>ExternalHosts</key>
<array>
    <string>localhost</string>
    <string>debug.phonegap.com</string>
</array>
Thomas Bindzus

Now that Apache Foundation has taken over the name has changed from PhoneGap.plist to Cordova.plist, but it's still ExternalHosts, this helped me get Weinre running which makes a huge difference when debugging directly on an iDevice.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!