问题
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.
回答1:
I had the same problem. It worked after I deleted an old version of FBAudienceNetwork.framework's path in Framework Search Paths.
来源:https://stackoverflow.com/questions/52106219/failed-to-install-pod-undefined-symbols-for-architecture-x86-64