[英]iOS: Error while building Xcode Project when using Segment-Firebase in pods
我正在通过CocoaPods使用细分库。 我在应用程序中添加了以下内容的另一个框架目标是:
target :Model do
pod 'Segment-Wootric'
pod 'Segment-Firebase'
end
当我尝试构建项目时,出现此错误:
架构x86_64的未定义符号:“ _OBJC_CLASS _ $ _ FIRApp”,引用自:SEGFirebaseIntegration.o中的objc-class-ref。o“ _OBJC_CLASS _ $ _ FIROptions”,引用自:SEGFirebaseIntegration.o中的objc-class-ref.o“ _OBJC_CLASS_” :SEGFirebaseIntegration.o中的objc-class-ref。ld:架构x86_64铛未找到符号:错误:链接器命令失败,退出代码为1(使用-v查看调用)
如果我删除此pod: pod 'Segment-Firebase'
并进行pod install
可以正常工作。
我该怎么办??
如果您收到与链接器标志有关的任何警告,我相信我过去已经通过在Target's Build Settings > Linker Flag property
。 将值设置为$(inherited)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.