This is a migrated thread and some comments may be shown as answers.

Error Building iOS Paypal MPL Plugin

1 Answer 60 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
stefano
Top achievements
Rank 1
stefano asked on 30 Sep 2013, 09:04 AM
In my testing app, i imported this plugin https://github.com/floatinghotpot/cordova-plugin-paypalmpl
 and added the library for iOS that i found here https://github.com/paypal/sdk-packages/tree/gh-pages/MPL
When i build, appear this error:
[2013-09-30 10-44-47-78] Log (Info,None): Project "TestPayPalMPL.proj" (default targets):
Link: Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_PayPalPayment", referenced from:
      objc-class-ref in CDVPayPalMPL.o
  "_OBJC_CLASS_$_PayPal", referenced from:
      objc-class-ref in CDVPayPalMPL.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Done building project "TestPayPalMPL.proj" -- FAILED.


With Android plugin works fine.

i don't understand what i wrong.
I can't use the new PayPalSDK.

Update: Cordova 3.0

Thanks in advance
Stefano

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 02 Oct 2013, 12:52 PM
Hello Stefano,

Common cause for such errors are listed in this forum thread.

PayPal have released an official PhoneGap/Cordova support a couple of months back, so we suggest using their plugins directly:
  • Android: https://github.com/paypal/PayPal-Android-SDK-PhoneGap
  • iOS: https://github.com/paypal/PayPal-iOS-SDK-PhoneGap

As those plugins are not plugman compatible, we suggest going through the documentation (Making a Custom Plugin Plugman-Compatible) in order to make them compatible in order to use it in Icenium.


Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussion
Asked by
stefano
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or