I've just updated my pod using "pod update" command and I use Firebase pod . I added new pod and when I compiled my project after that several errors appeared like this:
- Umbrella header for module 'GoogleDataTransport' does not include header 'GDTEventDataObject.h' - Umbrella header for module 'GoogleDataTransport' does not include header 'GDTClock.h' ... ...
I - use swift5 - Xcode 11.0 - macOS 10.15
Use pod install to install new pods in your project. Even if you already have a Podfile and ran pod install before; so even if you are just adding/removing pods to a project already using CocoaPods. Use pod update [PODNAME] only when you want to update pods to a newer version.
This library is for internal Google use only. It allows the logging of data and telemetry from Google SDKs.
Sometimes people suggest deleting the /Pods directory and the Podfile. lock file, then running pod install . This will solve any issues with Xcode, but will also upgrade each of the pods in the Podfile to its latest version*.
rm -rf ~/Library/Developer/Xcode/DerivedData/ pod deintegrate pod update
The GoogleDataTransport
references are lingering from old pod versions
Adding onto Paul's answer: I also had to clear my Pod cache.
rm -rf ~/Library/Developer/Xcode/DerivedData/ rm -rf ~/Library/Caches/CocoaPods/ pod deintegrate pod update
If you are using Flutter, you probably want to do the flutter clean too.
flutter clean
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