集成PayPal SDK for IOS时出现PayPal链接错误
我使用以下工具下载了最新的paypal IOS SDK 我添加了示例中指定的框架集成PayPal SDK for IOS时出现PayPal链接错误,ios,objective-c,paypal,Ios,Objective C,Paypal,我使用以下工具下载了最新的paypal IOS SDK 我添加了示例中指定的框架 Undefined symbols for architecture i386: "std::terminate()", referenced from: ___clang_call_terminate in libPayPalMobile.a(libCardIO.a-i386-master.o) "___cxa_begin_catch", referenced from: ___
Undefined symbols for architecture i386:
"std::terminate()", referenced from:
___clang_call_terminate in libPayPalMobile.a(libCardIO.a-i386-master.o)
"___cxa_begin_catch", referenced from:
___clang_call_terminate in libPayPalMobile.a(libCardIO.a-i386-master.o)
"___gxx_personality_v0", referenced from:
Dwarf Exception Unwind Info (__eh_frame) in libPayPalMobile.a(libCardIO.a-i386-master.o)
Dwarf Exception Unwind Info (__eh_frame) in libPayPalMobile.a(libCardIO.a-i386-master.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 我的项目中有SDWebImage 请提出我哪里出错的想法
提前感谢。我将查看中的步骤4。具体地说,确保可以通过显式添加或启用自动链接找到所有框架。转到您的项目名称,然后单击BuildSetting并将-lc++-ObjC放在其他链接器标志上
享受进入目标->构建设置->链接->其他链接器标志添加-ObjC-l“PayPalMobile”-l“Pods PayPal iOS SDK”-l“c++”-framework“AVFoundation”-framework“AudioToolbox”-framework“CoreLocation”-framework“CoreMedia”-framework“MessageUI”-framework“MobileCoreServices”-framework“SystemConfiguration”如果您不使用CoCoapod,只需删除该Pods线即可-ObjC-l“PayPalmMobile”-l“c++”-framework“AVFoundation”-framework“AudioToolbox”-framework“CoreLocation”-framework“CoreMedia”-framework“MessageUI”-framework“MobileCoreServices”-framework“SystemConfiguration”我的问题解决了。我错过了。回答得好谢谢兄弟。。这是一个很小的解决方案,但工作起来很有魅力。