AppLovin / AppLovin-MAX-SDK-iOS

Other
88 stars 70 forks source link

Can't update AppLovinMediationGoogleAdapter to latest #183

Closed daniel-hopkins closed 1 year ago

daniel-hopkins commented 1 year ago

MAX SDK Version

11.6.0

Device/Platform Info

n/a

Current Behavior

I've run pod install --repo-update trying to update my ad provider sdks to the latest versions, but the AppLovinMediationGoogleAdapter gets stuck a 7.67.1.6

Expected Behavior

AppLovinMediationGoogleAdapter upgrades to latest version with everything else

How to Reproduce

pod install --repo-update

image

This is my podfile.

  platform :ios, '13.0'
  source 'https://cdn.cocoapods.org/'

target 'FarkleScorekeeper' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  inhibit_all_warnings!

  # Pods for FarkleScorekeeper
  pod 'SwiftKeychainWrapper'
  pod 'WhatsNewKit'
  pod 'Firebase/Core'
  pod 'Firebase/Analytics'
  pod 'Firebase/Database'
  pod 'Firebase/Firestore'
  pod 'FirebaseAuth', '6.4.1'
  pod 'DZNEmptyDataSet'
  pod 'SwiftSpreadsheet'
  pod 'FontAwesome.swift'
  pod 'IQKeyboardManagerSwift'
  pod 'Purchases', '3.12.3'
  pod 'Toast-Swift', '~> 5.0.1'

  pod 'GoogleUtilities/AppDelegateSwizzler'
  # https://dash.applovin.com/documentation/mediation/ios/mediation-adapters?
  pod 'AppLovinSDK'
  pod 'AppLovinMediationAdColonyAdapter'
  pod 'AppLovinMediationGoogleAdapter'
  pod 'AppLovinMediationIronSourceAdapter'
  pod 'AppLovinMediationUnityAdsAdapter'
  pod 'LRSpotlight'
  pod 'lottie-ios'
end

Additional Info

No response

thomasmso commented 1 year ago

Could you update the AdMob adapter line to

pod 'AppLovinMediationGoogleAdapter', "= 9.14.0.1"

and try again?

daniel-hopkins commented 1 year ago

It resulted with this.

[!] CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
  In snapshot (Podfile.lock):
    GoogleAppMeasurement (= 6.9.0, ~> 6.0)

  In Podfile:
    AppLovinMediationGoogleAdapter (= 9.14.0.1) was resolved to 9.14.0.1, which depends on
      Google-Mobile-Ads-SDK (= 9.14.0) was resolved to 9.14.0, which depends on
        GoogleAppMeasurement (< 11.0, >= 7.0)

    Firebase/Core was resolved to 6.34.0, which depends on
      FirebaseAnalytics (= 6.9.0) was resolved to 6.9.0, which depends on
        GoogleAppMeasurement (= 6.9.0)

Specs satisfying the `GoogleAppMeasurement (= 6.9.0, ~> 6.0), GoogleAppMeasurement (= 6.9.0), GoogleAppMeasurement (< 11.0, >= 7.0)` dependency were found, but they required a higher minimum deployment target.

I decided to remove firebase stuff from cocoapods and move it to SPM instead. After this, I was able to get pod 'AppLovinMediationGoogleAdapter', "= 9.14.0.1" to work.

Thank you @thomasmso