Error: 'GoogleDataTransport/GDTCORConsoleLogger.h' file not found
shtnkgm opened this issue · 2 comments
shtnkgm commented
[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
Pods/GoogleDataTransport/
directory is empty.
Steps to reproduce:
- make Podfile to install Firebase/Core
pod install
- open .xcworkspace file
- 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
shtnkgm commented
I solved this problem myself.
The header file was imported successfully by executing the following command.
sudo rm -fr ~/Library/Caches/CocoaPods/
pod install
morganchen12 commented
Thanks for updating! Feel free to comment here if the issue resurfaces and we'll try to help.