[英]Xcode linker error and pod install indicates only 3 dependencies out of 4
[英]Adding Stripe Pod- linker error
pod已正确安装。 我也尝试了多次清理/构建。 我的头文件包含在桥接头中。 我的架构包括arm64,但我仍然收到此错误。
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Stripe", referenced from:
__TMaCSo6Stripe in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
实际上当我运行pod安装时,它没有继承我的路径
OTHER LINKER FLAGS
所以这是一个手动修复添加
$(inherited)
希望如果他们遇到同样的问题,这会有所帮助。
我昨天刚刚整合了Stripe cocoapod,我自己也遇到了很多问题。 我猜你的Pods目录中的Stripe / Support Files,你有一个名为Stripe-umbrella.h
的文件。
我整合Stripe唯一的运气是在我的桥接头文件中导入伞文件,如下所示(确保删除引号):
#import <Stripe/Stripe-umbrella.h>
添加这个,干净,构建,你应该有更好的运气。
为了记录,我正在使用XCode7。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.