-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[firebase_admob 0.11.0+1] XCode Build Fails: Google-Mobile-Ads-SDK-fjgkwjemgangjofelixrcilvndtg #4931
Comments
Hi @KuoyHuot
Thank you |
rm ios/podfile ? |
Same error for me. I tried the below, but it didn't help:
|
same here. |
Hey guys I think this is because AdMob recently updated their SDK to 8.0.0(because of this firebase_admob is resolving to 8.0.0...). I was able to get my project working by pinning Here's a StackOverflow answer about this: Maybe just try adding this to your Podfile, it's what ended up working for me in the project I was talking about above: ...
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
# Try adding this
pod 'Google-Mobile-Ads-SDK', '~> 7.69.0'
end EDIT: You'll most likely also need to run the commands ahaboubi posted above too 👍 |
made this work by using a combination of 2 solutions above : 1/ as @ThrowJojo said put this in your Podfile => this works for me |
Yeah my bad you will probably also need to run the commands @ahaboubi posted above! |
I've tried it, but I still get the same error |
I'm trying to avoid messing around with the pod file as much as possible. I guess I'll wait for the next update instead. Hopefully, it'll be fixed by then. 🙂 |
Well it is still compiling just fine for me on both stable firebase_admob: ^0.11.0+1
firebase_core: ^0.7.0 Podfile
The number of people here seems to prove there is an issue though |
Adding this to my Podfile and then running Thanks @ThrowJojo |
Works like a charm.
Version info:
|
After three hours of trying different things, a miracle occurred and somehow I got running again. No idea what it was. Divine intervention, maybe. A few points for anyone else in this situation:
Really looking forward to a proper fix. Here is my
|
Is there a dev branch we can using in our pubspec similar to the firebase_messaging: ^8.0.0-dev.14 Just to get it building for now? I want to avoid using stuff like this as its easily forgotten.
|
Finally, after hours, it works with this workaround:
|
Hi, switching to https://pub.dev/packages/google_mobile_ads did the trick for me |
To anyone facing this issue I strongly recommend you switch to |
Thanks for the info! I somehow managed to overread that last week even though it's at the very top of the firebase_admob package page. |
Close because what @markusaksli-nc said |
the solution that specify the Google-Mobile-Ads-SDK version at 7.69.0 (the important thing is that it is lower than 8.0.0) of the Podfile solves the problem. In any case the firebase_admob package is deprecated and the passage to google_mobile_ads solves the problem regardless and there is no longer to specify the version of the SDK. |
Bug report
I can't run my app after update firebase_admob from 0.10.3 to 0.11.0+1
Here is the output of build process:
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: