ammarahm-ed / react-native-admob-native-ads

A simple and robust library for creating & displaying Admob Native Advanced Ads in your React Native App using Native Views.
https://ammarahm-ed.github.io/react-native-admob-native-ads/docs/introduction/
MIT License
407 stars 138 forks source link

clang error on fresh install without Facebook adapter #252

Closed skam22 closed 2 years ago

skam22 commented 2 years ago

❌ ld: framework not found FacebookAdapter ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)

the installation doesn't mention that Facebook is required for an fresh build without mediation, but it fails to build without Facebook.

ammarahm-ed commented 2 years ago

@skam22 Try the master branch

serdargun commented 2 years ago

Same error with master @ammarahm-ed

ammarahm-ed commented 2 years ago

@serdargun Delete node_modules folder. Clean your project.

Run

npm install https://github.com/ammarahm-ed/react-native-admob-native-ads.git

Then navigate to ios folder and run pod install --repo-update

Try to build the app now. It should build normally.

csumrell commented 2 years ago

I tried this and am still getting the error

ammarahm-ed commented 2 years ago

I tried this and am still getting the error

Add Facebook Audience network to your pod file to get it working then

dorthwein commented 2 years ago

Downgrading 6.9.0.1 fixed my issue with this.

pod 'GoogleMobileAdsMediationFacebook', "~> 6.9.0.1"

Solution posted in another issue... cheers!

zoobibackups commented 2 years ago

Downgrading 6.9.0.1 fixed my issue with this.

pod 'GoogleMobileAdsMediationFacebook', "~> 6.9.0.1"

Solution posted in another issue... cheers!

still not working