[英]PayPal Linking error while integrating Paypal SDK for IOS
I downloaded the latest paypal IOS SDK using below 我使用下面的代码下载了最新的paypal IOS SDK
https://github.com/paypal/PayPal-iOS-SDK https://github.com/paypal/PayPal-iOS-SDK
I added frameworks as specified in the sample.. 我添加了示例中指定的框架..
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)
I also tried with 我也尝试过
Go to Targets -> Build Settings -> Linking -> Other Linker Flags Add -lc++ & -ObjC to it 转到目标 - >构建设置 - >链接 - >其他链接器标志添加-lc ++和-ObjC到它
I have SDWebImage in my project.. 我的项目中有SDWebImage ..
Please suggest any ideas where I went wrong.. 请提出我出错的任何想法..
Thanks in Advance.. 提前致谢..
go to yourProjectName then BuildSetting and put -lc++ -ObjC on other Linker Flags 转到yourProjectName然后BuildSetting并将-lc ++ -ObjC放在其他Linker Flags上
Enjoy 请享用
转到目标 - >构建设置 - >链接 - >其他链接器标志添加-ObjC -l“PayPalMobile”-l“Pods-PayPal-iOS-SDK”-l“c ++”-framework“AVFoundation”-framework“AudioToolbox” - 框架“CoreLocation”-framework“CoreMedia”-framework“MessageUI”-framework“MobileCoreServices”-framework“SystemConfiguration”
I would look at step 4 in the instructions . 我想看看在步骤4 的说明 。 Specifically, make sure that all the frameworks can be found by adding them explicitly or enabling automatic linking.
具体来说,确保通过显式添加或启用自动链接可以找到所有框架。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.