【发布时间】:2013-09-18 01:22:37
【问题描述】:
我正在尝试将新的 Paypal 插件 (https://github.com/SnareChops/PayPalPlugin) 实施到 Xcode 中以用于 HTML5 Phonegap 项目 - 我已按照所有说明进行操作,经过一些库调整后,我现在有了一个干净的构建 - 但是当我触发我收到以下错误的插件 -
ERROR: Plugin 'PayPalPlugin' not found, or is not a CDVPlugin.
Check your plugin mapping in config.xml.
2013-09-13 12:02:55.092 testing[2992:907] -[CDVCommandQueue executePending]
[Line 116] FAILED pluginJSON = [
"PayPalPlugin258195476",
"PayPalPlugin",
"preconnect",
[
"Sandbox"
]
]
然后在下面重复此操作,但错误略有不同 -
2013-09-13 12:02:56.654 testing[2992:907] ERROR: Plugin 'PayPalPlugin' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
我已将 paypalplugin.m 和 .h 文件添加到插件文件夹中,下面是我的 config.xml 文件的副本 - 我不确定我能做些什么来解决这个问题 - 我需要添加通过命令行插件(此处显示 - http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html)?
谁能给点建议?
干杯
【问题讨论】:
-
您确定
PayPalPLugin.m文件已添加到您的项目/目标成员中吗?见stackoverflow.com/a/19714472/885397
标签: ios xcode paypal cordova phonegap-plugins