【问题标题】:phonegap NSInternalInconsistencyException error in config.xmlconfig.xml 中的 phonegap NSInternalInconsistencyException 错误
【发布时间】:2014-07-11 18:23:26
【问题描述】:

我在 xcode 模拟器上运行我的 phonegap 应用程序。它给了我以下 IOS6.1 的例外情况。 7.0和7.1都可以。

由于未捕获的异常“NSInternalInconsistencyException”而终止应用程序,原因:“config.xml parse error line 47 col 21”

config.xml 中的错误行是

<gap:plugin name="nl.x-services.plugins.socialsharing" />

但是,如果我注释掉它,错误将落到下一行,即

<gap:plugin name="de.appplant.cordova.plugin.local-notification" />

只有在我全部注释掉后问题才消失

<!--<gap:plugin name="nl.x-services.plugins.socialsharing" /> -->
<!--<gap:plugin name="de.appplant.cordova.plugin.local-notification" /> -->
 <!--   <gap:plugin name="org.apache.cordova.splashscreen" />
<gap:plugin name="org.apache.cordova.network-information" /> -->

有什么想法吗?

问候 锤子

【问题讨论】:

    标签: cordova


    【解决方案1】:

    我找到原因了,它不见了

    xmlns:gap = "http://phonegap.com/ns/1.0"

    但奇怪的是,iOS 7 和 7.1 没有抛出任何异常。

    【讨论】:

      猜你喜欢
      • 2018-04-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-27
      • 2013-02-14
      • 2014-03-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多