无法安装Pod:体系结构x86_64的未定义符号 [英] Failed to install pod: Undefined symbols for architecture x86_64
问题描述
AdMob文档,以便与Facebook受众网络集成我需要安装此pod:
pod'GoogleMobileAdsMediationFacebook'
当我尝试安装它时,收到错误消息:
未定义符号适用于架构x86_64: _ OBJC_CLASS _ $ _ GADUnifiedNativeAdView,引用自:FacebookAdapter(GADFBNativeAd.o)中的
objc-class-ref ld:找不到针对架构x86_64 clang的符号:错误:链接器命令失败
,退出代码为1(使用-v查看调用)
不幸的是,我没有找到解决此问题的方法。 p>
谢谢。
我遇到了同样的问题。在我删除了框架搜索路径中的旧版本的FBAudienceNetwork.framework的路径后,此方法就起作用了。
According to AdMob documentation, in order to integrate with facebook audience network I need to install this pod:
pod 'GoogleMobileAdsMediationFacebook'
When I try to install it, I received an error:
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_GADUnifiedNativeAdView", referenced from: objc-class-ref in FacebookAdapter(GADFBNativeAd.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Unfortunately I didn't find a solution for this issue.
Thanks.
I had the same problem. It worked after I deleted an old version of FBAudienceNetwork.framework's path in Framework Search Paths.
这篇关于无法安装Pod:体系结构x86_64的未定义符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!