question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

macOS m1 CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":

See original GitHub issue

macOS M1 device

Plugin Version

0.13.2

Steps to Reproduce

  1. Run pod install.

Expected results:

Actual results: CocoaPods could not find compatible versions for pod “Google-Mobile-Ads-SDK”: In Podfile: flutter_admob_app_open (from .symlinks/plugins/flutter_admob_app_open/ios) was resolved to 0.0.1, which depends on Google-Mobile-Ads-SDK (= 7.69.0)

google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on
  Google-Mobile-Ads-SDK (= 8.5.0)

native_ads (from `.symlinks/plugins/native_ads/ios`) was resolved to 0.5.0, which depends on
  Google-Mobile-Ads-SDK
CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":

[✓] Flutter (Channel master, 2.4.0-1.0.pre.112, on macOS 11.4 20F71 darwin-arm, locale en-TR) • Flutter version 2.4.0-1.0.pre.112 at /usr/local/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 3bac804112 (4 hours ago), 2021-07-08 03:01:04 -0400 • Engine revision 99a2904675 • Dart version 2.14.0 (build 2.14.0-288.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) ✗ cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.5.1, Build version 12E507 • CocoaPods version 1.10.1

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio • Android Studio at /Applications/Android Studio Preview.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio.

[✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[!] Android Studio • Android Studio at /Users/salim/Downloads/Android Studio Preview.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio.

[✓] Connected device (3 available) • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64 • Android 11 (API 30) (emulator) • iPhone 11 Pro (mobile) • D3BF5B93-2167-46DE-9AAA-C1699AC6B65E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator) • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:22

github_iconTop GitHub Comments

2reactions
terrasuscompanycommented, Nov 12, 2021

I update and upgrade everything. now its working fine. mac update, plugin update, flutter dart. everything.

0reactions
srichakradharcommented, Jul 20, 2022

Closing as it seems to be a transient issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - CocoaPods could not find compatible versions for pod ...
My setup: VS Code, Flutter. If you don't have Podfile.lock file and pod update doesn't help, try this: Go to ios/Pods/Local Podspecs ......
Read more >
CocoaPods installation failure when building for iOS
CocoaPods could not find compatible versions for pod "FirebaseCore": In Podfile: Firebase/Auth (= 8.8.0) was resolved to 8.8.0, ...
Read more >
cocoapods could not find compatible versions for pod ...
“cocoapods could not find compatible versions for pod firebase/mlvision” Code Answer's ... Without CocoaPods, plugins will not work on iOS or macOS.
Read more >
CocoaPods could not find compatible versions for pod " ...
but they required a higher minimum deployment target. To resolve this error, set the minimum iOS version to 13.0 within your Podfile :...
Read more >
Firebase Apple SDK Release Notes - Google
Breaking change: Minimum supported versions have updated for the following ... CocoaPods ARM Mac users no longer need to use the M1 tagged...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found