Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GoogleUtilities/AppDelegateSwizzler/Private/GULApplication.h' file > not found

After Migrating react-native-firebase to @react-native-firebase

Error coming up

/Users/samridhgupta/Work/Development/TCD/classroom-door-react-native/ios/Pods/Headers/Private/GoogleUtilities/GULAppDelegateSwizzler.h:19:9: 'GoogleUtilities/AppDelegateSwizzler/Private/GULApplication.h' file not found

on file

Pods > GoogleUtilities > AppDelegateSwizzler

#import "GoogleUtilities/AppDelegateSwizzler/Private/GULApplication.h"

PodLock File have these packages (GoogleUtilities/AppDelegateSwizzler)

Tried resetting the Pod by removing the Podlock file and then running Pod install. Plus also tried removing the DerivedData still the issue remains Gist from padlock file

     - Firebase/Core (6.27.1):
    - Firebase/CoreOnly
    - FirebaseAnalytics (= 6.6.2)
  - Firebase/CoreOnly (6.27.1):
    - FirebaseCore (= 6.8.1)
  - Firebase/Database (6.27.1):
    - Firebase/CoreOnly
    - FirebaseDatabase (~> 6.3.0)
  - Firebase/Firestore (6.27.1):
    - Firebase/CoreOnly
    - FirebaseFirestore (~> 1.16.0)
  - Firebase/Functions (6.27.1):
    - Firebase/CoreOnly
    - FirebaseFunctions (~> 2.6.0)
  - Firebase/Messaging (6.27.1):
    - Firebase/CoreOnly
    - FirebaseMessaging (~> 4.5.0)
  - Firebase/Storage (6.27.1):
    - Firebase/CoreOnly
    - FirebaseStorage (~> 3.7.0)
  - FirebaseAnalytics (6.6.2):
    - FirebaseCore (~> 6.8)
    - FirebaseInstallations (~> 1.4)
    - GoogleAppMeasurement (= 6.6.2)
    - GoogleUtilities/AppDelegateSwizzler (~> 6.0)
    - GoogleUtilities/MethodSwizzler (~> 6.0)
    - GoogleUtilities/Network (~> 6.0)
    - "GoogleUtilities/NSData+zlib (~> 6.0)"
    - nanopb (~> 1.30905.0)
  - FirebaseAuth (6.6.0):
    - FirebaseCore (~> 6.8)
    - GoogleUtilities/AppDelegateSwizzler (~> 6.5)
    - GoogleUtilities/Environment (~> 6.5)
    - GTMSessionFetcher/Core (~> 1.1)
  - FirebaseCore (6.8.1):
    - FirebaseCoreDiagnostics (~> 1.3)
    - GoogleUtilities/Environment (~> 6.5)
    - GoogleUtilities/Logger (~> 6.5)
  - FirebaseCoreDiagnostics (1.5.0):
    - GoogleDataTransport (~> 7.0)
    - GoogleUtilities/Environment (~> 6.7)
    - GoogleUtilities/Logger (~> 6.7)
    - nanopb (~> 1.30905.0)
  - FirebaseDatabase (6.3.0):
    - FirebaseCore (~> 6.8)
    - leveldb-library (~> 1.22)
  - FirebaseFirestore (1.16.1):
    - abseil/algorithm (= 0.20200225.0)
    - abseil/base (= 0.20200225.0)
    - abseil/memory (= 0.20200225.0)
    - abseil/meta (= 0.20200225.0)
    - abseil/strings/strings (= 0.20200225.0)
    - abseil/time (= 0.20200225.0)
    - abseil/types (= 0.20200225.0)
    - FirebaseCore (~> 6.8)
    - "gRPC-C++ (~> 1.28.0)"
    - leveldb-library (~> 1.22)
    - nanopb (~> 1.30905.0)
  - FirebaseFunctions (2.6.0):
    - FirebaseCore (~> 6.8)
    - GTMSessionFetcher/Core (~> 1.1)
  - FirebaseInstallations (1.5.0):
    - FirebaseCore (~> 6.8)
    - GoogleUtilities/Environment (~> 6.7)
    - GoogleUtilities/UserDefaults (~> 6.7)
    - PromisesObjC (~> 1.2)
  - FirebaseInstanceID (4.5.0):
    - FirebaseCore (~> 6.8)
    - FirebaseInstallations (~> 1.0)
    - GoogleUtilities/Environment (~> 6.7)
    - GoogleUtilities/UserDefaults (~> 6.7)
  - FirebaseMessaging (4.5.0):
    - FirebaseCore (~> 6.8)
    - FirebaseInstanceID (~> 4.3)
    - GoogleUtilities/AppDelegateSwizzler (~> 6.5)
    - GoogleUtilities/Environment (~> 6.5)
    - GoogleUtilities/Reachability (~> 6.5)
    - GoogleUtilities/UserDefaults (~> 6.5)
    - Protobuf (>= 3.9.2, ~> 3.9)
  - FirebaseStorage (3.7.0):
    - FirebaseCore (~> 6.8)
    - GTMSessionFetcher/Core (~> 1.1)

Comment if you need any other details which can help me resolving this issue

like image 269
samridhgupta Avatar asked Jul 14 '20 23:07

samridhgupta


1 Answers

For now, you can work around by change code at file GULAppDelegateSwizzler.h

#import "GoogleUtilities/AppDelegateSwizzler/Private/GULApplication.h"
->
#import "GoogleUtilities/GULApplication.h"

like image 92
ChauGiang Avatar answered Nov 12 '22 06:11

ChauGiang