Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to install pod: Undefined symbols for architecture x86_64

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.

like image 679
Eliran Tutia Avatar asked Nov 08 '22 02:11

Eliran Tutia


1 Answers

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

like image 92
Sam Xu Avatar answered Nov 13 '22 20:11

Sam Xu