Failed to install pod: Undefined symbols for architecture x86_64

Viewed 1157

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 Answers

I had the same problem. It worked after I deleted an old version of FBAudienceNetwork.framework's path in Framework Search Paths.

Related