firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.59k stars 1.46k forks source link

'GoogleUtilities/GULAppEnvironmentUtil.h' file not found after Installing 'Firebase/Crashlytics' and 'Firebase/Analytics' pod file #5846

Closed kumareshsaran closed 4 years ago

kumareshsaran commented 4 years ago

Hi, I am trying to compile my project after installing the latest version the 'Firebase/Analytics' and 'Firebase/Crashlytics'. It's gives error like 'GoogleUtilities/GULAppEnvironmentUtil.h' file not found

Help me to resolve this issue. Thanks in advance

Screenshot 2020-06-18 at 6 21 13 PM

Here I attached my pod file

` use_frameworks! pod 'AFNetworking' pod 'BFTask-Extras' pod 'Mantle'

pod 'JSONKit'

pod 'MBProgressHUD' pod 'FBSDKCoreKit'

pod 'FBSDKLoginKit'

pod 'FBSDKShareKit' pod 'FacebookLogin' pod 'TwitterKit' pod 'TwitterCore' pod 'CryptoSwift'

pod 'CryptoSwift', :git => "https://github.com/krzyzanowskim/CryptoSwift.git", :branch => "develop"

pod 'AWSCognito'

pod 'AWSCore'

pod 'AWSCognitoIdentityProvider'

pod 'AWSSNS'

pod 'AWSS3'

pod 'AWSLambda'

pod 'AWSCognito', '2.4.16' pod 'AWSCognitoIdentityProvider', '2.4.16' pod 'AWSCore', '2.4.16' pod 'AWSLambda', '2.4.16' pod 'AWSS3', '2.4.16' pod 'AWSSNS', '2.4.16' pod 'GooglePlaces'

pod 'Google/SignIn'

pod 'GoogleSignIn' pod 'GoogleAnalytics' pod 'GoogleUtilities'

pod 'Stripe', '~> 15.0.2'

pod 'CardIO'

pod 'OpenCV', '3.3.1'

pod 'Firebase/Auth' pod 'Firebase/Messaging' pod 'Firebase/Storage' pod 'Firebase/Firestore'

pod 'Firebase/Core'

pod 'Firebase/Crash'

pod 'Firebase/Performance' pod 'Firebase/RemoteConfig' pod 'Firebase/Crashlytics' pod 'Firebase/Analytics'

pod 'Fabric'

pod 'Crashlytics'

pod 'FittedSheets'

pod 'KWStepper'

pod 'TLPhotoPicker' pod 'Alamofire', '~> 5.2' pod 'SwiftyJSON' pod 'Starscream', '~> 4.0.0' pod 'RSMasterTableViewKit' pod "ESPullToRefresh" pod "SwiftRater"

`

Here I added my podfile.lock

`PODS:

google-oss-bot commented 4 years ago

I found a few problems with this issue:

paulb777 commented 4 years ago

It looks like a pod update is needed to update the change from Google/SignIn to GoogleSignIn. The Podfile.lock reflects the precommented out version.

More context at https://stackoverflow.com/a/51932677/556617

paulb777 commented 4 years ago

We'll likely need a reproducible example if the above suggestions don't work and more help is needed.

kumareshsaran commented 4 years ago

Thank you paulb. Above solution is working fine.

kumareshsaran commented 4 years ago

Now i am closing this issue