简体   繁体   中英

how to add the paypal sdk correctly

iam developing one application.In that iam integrated paypal sdk.I added all frameworks whatever they mentioned.But i got the error like below

         Undefined symbols for architecture i386:
        "std::terminate()", referenced from:
  -[CardIOGPURenderer dealloc] 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)

How to solve this one.

ganesh babu, did you follow this step from the integration instructions ?

In your project's Build Settings, add -lstdc++ -ObjC to Other Linker Flags.

Also, please make sure that you are using the latest version of the sdk .

For integrating pay pal SDK Correctly

Have to do the following modifications

In C++ STandard Libray can use libstdC++ standard library

Enable all the modules

and finally other linker flags add it: -lstdc++ -ObjC

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM