admob-plus / admob-plus

Trustable AdMob Plugin for Cordova, Capacitor, Ionic, React Native
https://admob-plus.github.io
MIT License
360 stars 150 forks source link

Cordova config.xml with old GoogleUserMessagingPlatform version #633

Open konguele opened 5 months ago

konguele commented 5 months ago

Good Morning,

I'm getting this error and checking the problem, I see it happens when you try to install admob-plus-cordova. I have tried different solutions, but none of them worked.


Command failed with exit code 1: pod install --verbose
  Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Jabali Espacial`: (``)

Finding Podfile changes
  A GoogleUserMessagingPlatform
  - Google-Mobile-Ads-SDK

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
  CDN: trunk Relative path: all_pods_versions_5_9_a.txt exists! Returning local because checking is only performed in repo update
  CDN: trunk Relative path: Specs/5/9/a/Google-Mobile-Ads-SDK/10.13.0/Google-Mobile-Ads-SDK.podspec.json exists! Returning local because checking is only performed in repo update
  CDN: trunk Relative path: all_pods_versions_7_e_f.txt exists! Returning local because checking is only performed in repo update
  CDN: trunk Relative path: Specs/7/e/f/GoogleUserMessagingPlatform/2.1.0/GoogleUserMessagingPlatform.podspec.json exists! Returning local because checking is only performed in repo update
[!] CocoaPods could not find compatible versions for pod "GoogleUserMessagingPlatform":
  In snapshot (Podfile.lock):
    GoogleUserMessagingPlatform (= 2.1.0, >= 1.1)

  In Podfile:
    GoogleUserMessagingPlatform (~> 2.0.0)

Specs satisfying the `GoogleUserMessagingPlatform (~> 2.0.0), GoogleUserMessagingPlatform (= 2.1.0, >= 1.1)` dependency were found, but they required a higher minimum deployment target.

If I open it with Xcode I get the following error:

Captura de pantalla 2023-12-04 a las 11 14 47