cordova 3.4.0使用paypal插件

时间:2014-05-14 13:52:39

标签: ios cordova paypal cordova-plugins

我正在使用cordova 3.4.0 for ios创建phonegap项目。我想在我的项目上添加paypal支付网关。我从以下链接https://github.com/Eaiman/phonegap-paypal-plugin.git

安装了paypal插件

但我在xcode上遇到以下错误。

**

Undefined symbols for architecture i386:   "std::terminate()", referenced from:
      ___clang_call_terminate in libPayPalMobile.a(CardIOGPURenderer.o)   "___cxa_begin_catch", referenced from:
      ___clang_call_terminate in libPayPalMobile.a(CardIOGPURenderer.o)   "___gxx_personality_v0", referenced from:
      Dwarf Exception Unwind Info (__eh_frame) in libPayPalMobile.a(CardIOAnalytics.o)
      Dwarf Exception Unwind Info (__eh_frame) in libPayPalMobile.a(CardIOGPURenderer.o)
      Dwarf Exception Unwind Info (__eh_frame) in libPayPalMobile.a(CardIOAnalytics.o)
      Dwarf Exception Unwind Info (__eh_frame) in libPayPalMobile.a(CardIOGPURenderer.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

**

请指导我。

1 个答案:

答案 0 :(得分:3)

戴夫来自PayPal。

@ Arunkumar1775,您显然是在尝试使用旧的,未维护的第三方PhoneGap项目。

相反,请尝试使用PayPal的官方Cordova/Phonegap Plugin