firebase/firebase-ios-sdk

Error: 'GoogleDataTransport/GDTCORConsoleLogger.h' file not found

shtnkgm opened this issue · 2 comments

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 11.3
  • Firebase SDK version: 6.21.0
  • Firebase Component: Core
  • Component version: 6.21.0
  • Installation method: CocoaPods(1.8.4)

[REQUIRED] Step 2: Describe the problem

The following error occurred.

'GoogleDataTransport/GDTCORConsoleLogger.h' file not found

image

Pods/GoogleDataTransport/ directory is empty.

Steps to reproduce:

  1. make Podfile to install Firebase/Core
  2. pod install
  3. open .xcworkspace file
  4. build project

Relevant Code:

Here is the repository that contains the minimal code to reproduce the error.
https://github.com/shtnkgm/FirebaseIssue

This is my Podfile.

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'FirebaseIssue' do
  use_frameworks!

  pod 'Firebase/Core'

end

I solved this problem myself.
The header file was imported successfully by executing the following command.

sudo rm -fr ~/Library/Caches/CocoaPods/
pod install

Thanks for updating! Feel free to comment here if the issue resurfaces and we'll try to help.