Trying to compile my project after adding some pods. While compiling it gives below error 'GoogleUtilities/GULURLSessionDataResponse.h' file not found
Podfile.lock:
- FBSDKCoreKit (9.1.0):
- FBSDKCoreKit/Basics (= 9.1.0)
- FBSDKCoreKit/Core (= 9.1.0)
- FBSDKCoreKit/Basics (9.1.0)
- FBSDKCoreKit/Core (9.1.0):
- FBSDKCoreKit/Basics
- Firebase/Analytics (3.6.0):
- FirebaseAnalytics (= 3.4.2)
- Firebase/Core (3.6.0):
- Firebase/Analytics
- Firebase/CoreOnly (7.9.0):
- FirebaseCore (= 7.9.0)
- Firebase/Crashlytics (7.9.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 7.9.0)
- Firebase/Messaging (3.6.0):
- Firebase/Analytics
- FirebaseMessaging (= 1.2.0)
- FirebaseAnalytics (3.4.2):
- FirebaseInstanceID (~> 1.0)
- GoogleInterchangeUtilities (~> 1.2)
- GoogleSymbolUtilities (~> 1.1)
- GoogleUtilities (~> 1.2)
- FirebaseCore (7.9.0):
- FirebaseCoreDiagnostics (~> 7.4)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- FirebaseCoreDiagnostics (7.9.0):
- GoogleDataTransport (~> 8.0)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- nanopb (~> 2.30907.0)
- FirebaseCrashlytics (7.9.0):
- FirebaseCore (~> 7.0)
- FirebaseInstallations (~> 7.0)
- GoogleDataTransport (~> 8.0)
- nanopb (~> 2.30907.0)
- PromisesObjC (~> 1.2)
- FirebaseInstallations (7.9.0):
- FirebaseCore (~> 7.0)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/UserDefaults (~> 7.0)
- PromisesObjC (~> 1.2)
- FirebaseInstanceID (1.0.9)
- FirebaseMessaging (1.2.0):
- FirebaseAnalytics (~> 3.3)
- FirebaseInstanceID (~> 1.0)
- GoogleInterchangeUtilities (~> 1.2)
- GoogleIPhoneUtilities (~> 1.2)
- GoogleSymbolUtilities (~> 1.1)
- Flurry-iOS-SDK (10.1.0):
- Flurry-iOS-SDK/FlurrySDK (= 10.1.0)
- Flurry-iOS-SDK/FlurrySDK (10.1.0)
- GoogleDataTransport (8.3.0):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30907.0)
- PromisesObjC (~> 1.2)
- GoogleInterchangeUtilities (1.2.2):
- GoogleSymbolUtilities (~> 1.1)
- GoogleIPhoneUtilities (1.2.1):
- GoogleSymbolUtilities (~> 1.0)
- GoogleUtilities (~> 1.0)
- GoogleSymbolUtilities (1.1.2)
- GoogleUtilities (1.3.2):
- GoogleSymbolUtilities (~> 1.1)
- GoogleUtilities/Environment (7.3.1):
- PromisesObjC (~> 1.2)
- GoogleUtilities/Logger (7.3.1):
- GoogleUtilities/Environment
- GoogleUtilities/UserDefaults (7.3.1):
- GoogleUtilities/Logger
- FBSDKCoreKit (9.1.0):
- FBSDKCoreKit/Basics (= 9.1.0)
- FBSDKCoreKit/Core (= 9.1.0)
- FBSDKCoreKit/Basics (9.1.0)
- FBSDKCoreKit/Core (9.1.0):
- FBSDKCoreKit/Basics
- Firebase/Analytics (3.6.0):
- FirebaseAnalytics (= 3.4.2)
- Firebase/Core (3.6.0):
- Firebase/Analytics
- Firebase/CoreOnly (7.9.0):
- FirebaseCore (= 7.9.0)
- Firebase/Crashlytics (7.9.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 7.9.0)
- Firebase/Messaging (3.6.0):
- Firebase/Analytics
- FirebaseMessaging (= 1.2.0)
- FirebaseAnalytics (3.4.2):
- FirebaseInstanceID (~> 1.0)
- GoogleInterchangeUtilities (~> 1.2)
- GoogleSymbolUtilities (~> 1.1)
- GoogleUtilities (~> 1.2)
- FirebaseCore (7.9.0):
- FirebaseCoreDiagnostics (~> 7.4)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- FirebaseCoreDiagnostics (7.9.0):
- GoogleDataTransport (~> 8.0)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- nanopb (~> 2.30907.0)
- FirebaseCrashlytics (7.9.0):
- FirebaseCore (~> 7.0)
- FirebaseInstallations (~> 7.0)
- GoogleDataTransport (~> 8.0)
- nanopb (~> 2.30907.0)
- PromisesObjC (~> 1.2)
- FirebaseInstallations (7.9.0):
- FirebaseCore (~> 7.0)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/UserDefaults (~> 7.0)
- PromisesObjC (~> 1.2)
- FirebaseInstanceID (1.0.9)
- FirebaseMessaging (1.2.0):
- FirebaseAnalytics (~> 3.3)
- FirebaseInstanceID (~> 1.0)
- GoogleInterchangeUtilities (~> 1.2)
- GoogleIPhoneUtilities (~> 1.2)
- GoogleSymbolUtilities (~> 1.1)
- Flurry-iOS-SDK (10.1.0):
- Flurry-iOS-SDK/FlurrySDK (= 10.1.0)
- Flurry-iOS-SDK/FlurrySDK (10.1.0)
- GoogleDataTransport (8.3.0):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30907.0)
- PromisesObjC (~> 1.2)
- GoogleInterchangeUtilities (1.2.2):
- GoogleSymbolUtilities (~> 1.1)
- GoogleIPhoneUtilities (1.2.1):
- GoogleSymbolUtilities (~> 1.0)
- GoogleUtilities (~> 1.0)
- GoogleSymbolUtilities (1.1.2)
- GoogleUtilities (1.3.2):
- GoogleSymbolUtilities (~> 1.1)
- GoogleUtilities/Environment (7.3.1):
- PromisesObjC (~> 1.2)
- GoogleUtilities/Logger (7.3.1):
- GoogleUtilities/Environment
- GoogleUtilities/UserDefaults (7.3.1):
- GoogleUtilities/Logger
Just rename
pod 'Firebase/Analytics'
to
pod 'FirebaseAnalytics'
and run
pod install
This happened to me as well. I noticed that pod 'Firebase/Analytics' was installing an old version:
Installing FirebaseAnalytics (3.4.2)
Not sure why was that, but I fixed it by adding the version (the latest at the time this was written) in the pod:
pod 'Firebase/Analytics', '8.1.0'
Add to the Podfile: platform :ios, '10.0'
More details at https://github.com/firebase/firebase-ios-sdk/issues/7782
The same happened to me when upgrading from SDK v7 to v8. I figured out that replacing
pod 'Firebase/Admob'
with
pod 'Google-Mobile-Ads-SDK'
resolved the problem. The old Firebase 3.6.0 will then not anymore be loaded during pod update.
But be aware that the Mobile Ads API did change slightly from SDK v7 to v8. You have to follow these instructions to adapt your code:
Migrate Mobile Ads SDK v7 to v8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With