admob-plus / admob-plus

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

CocoaPods could not find compatible versions for pod "GoogleAppMeasurement" #618

Open adigujjar opened 8 months ago

adigujjar commented 8 months ago

CocoaPods could not find compatible versions for pod "GoogleAppMeasurement": In snapshot (Podfile.lock): GoogleAppMeasurement (< 11.0, = 10.14.0, >= 7.0)

In Podfile: Firebase/Core (= 10.10.0) was resolved to 10.10.0, which depends on FirebaseAnalytics (~> 10.10.0) was resolved to 10.10.0, which depends on FirebaseAnalytics/AdIdSupport (= 10.10.0) was resolved to 10.10.0, which depends on GoogleAppMeasurement (= 10.10.0)

Google-Mobile-Ads-SDK (~> 10.6.0) was resolved to 10.6.0, which depends on
  GoogleAppMeasurement (< 11.0, >= 7.0)

here is my package.json file { "cordova": { "plugins": { "cordova-plugin-extension": {}, "cordova-android-support-gradle-release": { "ANDROID_SUPPORT_VERSION": "27.0.0" }, "cordova-plugin-splashscreen": {}, "cordova-plugin-x-socialsharing": { "PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly." }, "@globules-io/cordova-plugin-ios-xhr": {}, "cordova-plugin-whitelist": {}, "cordova-plugin-file": {}, "@ahovakimyan/cordova-plugin-wkwebviewxhrfix": {}, "cordova-plugin-inappbrowser": {}, "cordova-plugin-firebasex": { "ANDROID_FIREBASE_CONFIG_FILEPATH": "resources/android/google-services.json", "IOS_FIREBASE_CONFIG_FILEPATH": "resources/ios/GoogleService-Info.plist", "FIREBASE_ANALYTICS_COLLECTION_ENABLED": "true", "FIREBASE_PERFORMANCE_COLLECTION_ENABLED": "true", "FIREBASE_CRASHLYTICS_COLLECTION_ENABLED": "true", "FIREBASE_FCM_AUTOINIT_ENABLED": "true", "ANDROID_ICON_ACCENT": "#FF00FFFF", "ANDROID_FIREBASE_PERFORMANCE_MONITORING": "false", "ANDROID_PLAY_SERVICES_TAGMANAGER_VERSION": "18.0.2", "ANDROID_PLAY_SERVICES_AUTH_VERSION": "20.5.0", "ANDROID_FIREBASE_ANALYTICS_VERSION": "21.2.2", "ANDROID_FIREBASE_MESSAGING_VERSION": "23.1.2", "ANDROID_FIREBASE_CONFIG_VERSION": "21.4.0", "ANDROID_FIREBASE_PERF_VERSION": "20.3.2", "ANDROID_FIREBASE_AUTH_VERSION": "22.0.0", "ANDROID_FIREBASE_INAPPMESSAGING_VERSION": "20.3.2", "ANDROID_FIREBASE_FIRESTORE_VERSION": "24.6.0", "ANDROID_FIREBASE_FUNCTIONS_VERSION": "20.3.0", "ANDROID_FIREBASE_IID_VERSION": "21.1.0", "ANDROID_FIREBASE_INSTALLATIONS_VERSION": "17.1.3", "ANDROID_FIREBASE_CRASHLYTICS_VERSION": "18.3.7", "ANDROID_FIREBASE_CRASHLYTICS_NDK_VERSION": "18.3.7", "ANDROID_GSON_VERSION": "2.9.0", "ANDROID_FIREBASE_PERF_GRADLE_PLUGIN_VERSION": "1.4.2", "ANDROID_GRPC_OKHTTP": "1.46.0", "IOS_USE_PRECOMPILED_FIRESTORE_POD": "false", "IOS_FCM_ENABLED": "true" }, "cordova-admobsdk": {}, "admob-plus-cordova": { "APP_ID_ANDROID": "ca-app-pub-5819193604272633/7045532500", "APP_ID_IOS": "ca-app-pub-5819193604272633/7045532500", "PLAY_SERVICES_VERSION": "22.1.0", "USAGE": "This identifier will be used to deliver personalized ads to you.", "DISABLESDKCRASHREPORTING": "false" } }, "platforms": [ "android" ] }, "dependencies": { "admob-plus-cordova": "2.0.0-alpha.13", "cordova-android-support-gradle-release": "^3.0.0", "cordova-plugin-extension": "1.5.4", "shelljs": "^0.8.4" }, "devDependencies": { "@ahovakimyan/cordova-plugin-wkwebviewxhrfix": "git+https://github.com/AraHovakimyan/cordova-plugin-wkwebviewxhrfix.git", "@globules-io/cordova-plugin-ios-xhr": "git+https://github.com/globules-io/cordova-plugin-ios-xhr.git", "cordova-admobsdk": "^8.13.0", "cordova-android": "^9.1.0", "cordova-ios": "^7.0.0", "cordova-plugin-file": "^6.0.2", "cordova-plugin-firebasex": "^16.1.0", "cordova-plugin-splashscreen": "^6.0.0", "cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-whitelist": "^1.3.5", "cordova-plugin-x-socialsharing": "^6.0.4", "es6-promise-plugin": "^4.2.2" } }

adigujjar commented 8 months ago

CocoaPods could not find compatible versions for pod "FirebaseAnalytics": In Podfile: Firebase/Core (= 10.10.0) was resolved to 10.10.0, which depends on FirebaseAnalytics (~> 10.10.0)

GoogleTagManager (= 7.4.3) was resolved to 7.4.3, which depends on
  FirebaseAnalytics (< 11.0, >= 9.0)
DesignerApparelSales commented 6 months ago

Try rearrange the order the plugin is being build, put this plugin last in the config.xml