Error de integración del SDK de Paypal

I am trying to add the Paypal SDK to my app but I get 4 errors

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)

puede alguien ayudarme a resolver esto?

preguntado el 27 de noviembre de 13 a las 01:11

2 Respuestas

Pruebe lo siguiente:

  • Go to Targets -> Build Settings -> Linking -> Other Linker Flags
  • Add -lc++ & -ObjC to it

This worked for me solve errors same as above.

Espero que esto ayude.

Respondido 12 Abr '14, 09:04

Vaya a:

Targets -> Build Settings -> Linking -> Other Linker Flags Add -ObjC -l"PayPalMobile" -l"Pods-PayPal-iOS-SDK" -l"c++" -framework "AVFoundation" -framework "AudioToolbox" -framework "CoreLocation" -framework "CoreMedia" -framework "MessageUI" -framework "MobileCoreServices" -framework "SystemConfiguration"

Respondido 04 ago 15, 11:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.