Ios Paypal SDK集成错误
我正在尝试将Paypal SDK添加到我的应用程序中,但出现4个错误Ios Paypal SDK集成错误,ios,objective-c,xcode,paypal,Ios,Objective C,Xcode,Paypal,我正在尝试将Paypal SDK添加到我的应用程序中,但出现4个错误 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
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)
有人能帮我解决这个问题吗?试试这个:
- 转到目标->构建设置->链接->其他链接器标志
- 向其中添加-lc++&-ObjC
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"