Shane O'Seasnain
Shane O'Seasnain

Reputation: 3674

Missing GULSwizzler.h file

I've upgraded an iOS/Swift project to the latest Firebase pods. The following changes were made:

I'm getting an error on a missing file that's imported in GoogleUtilities at build time:

'Private/GULSwizzler.h' file not found

My pod import file has the following:

pod 'Firebase/Core'
pod 'Firebase/Storage'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'Firebase/AdMob'
pod 'GoogleSymbolUtilities'
pod 'GoogleInterchangeUtilities'

Has anyone come across this or know a solution?

******************************** edit ********************************** What I see under GoogleUtilities is shown below. I note that the .h symbol is dimmed for the file that's missing. enter image description here

Upvotes: 1

Views: 1138

Answers (1)

Paul Beusterien
Paul Beusterien

Reputation: 29582

It seems that GULSwizzler.h is not installed properly. For me, it is installed in a different location:

 $ find . | grep GULSwizzler.h
./Pods/GoogleUtilities/GoogleUtilities/MethodSwizzler/Private/GULSwizzler.h

Here are a few things to try:

  • Reinstall from a clean environment: pod deintegrate and pod install
  • Make sure you have the latest version of CocoaPods:

    $ pod --version 1.5.3

Probably unrelated, but strange: GoogleSymbolUtilities and GoogleInterchangeUtilities are deprecated private pods that were never intended to be added to Podfiles.

Upvotes: 3

Related Questions