3

After running pod update on my project, I am now getting the errors:

'FirebaseCore/FirebaseCore.h' file not found

and (I imagine associated):

Could not build Objective-C module 'Firebase'

I have tried deintegrating and installing pods multiple times, creating new workspaces (and making sure I am in workspace rather than project). I am not all that experienced in programming (yet!), but my podfile contains use_frameworks! in case that's of any help?

I have also noticed that when I build my app I get a warning about not being able to find the pod.[AppName].xcconfig file, although the file isn't highlighted in red and appears to still be where it says?

Cœur
  • 37,241
  • 25
  • 195
  • 267
jasperthedog
  • 129
  • 3
  • 9
  • Possible duplicate of [Could not build Objective-C module 'Firebase'](https://stackoverflow.com/questions/47764165/could-not-build-objective-c-module-firebase) – Faysal Ahmed Feb 20 '19 at 09:31
  • You got [multiple duplicates to your question](https://stackoverflow.com/search?q=%27FirebaseCore%2FFirebaseCore.h%27+file+not+found+is%3Aq): what's different in your question? Also, please specify your CocoaPods version. – Cœur Feb 20 '19 at 10:59
  • Possible duplicate of [Could not build Objective-C module 'Firebase': I have Xcode version 9.4.1 & Cocoapods 1.1.1](https://stackoverflow.com/questions/51025067/could-not-build-objective-c-module-firebase-i-have-xcode-version-9-4-1-coco) – Cœur Feb 20 '19 at 11:06
  • You can do yourself alot of benefit by learning how to examine the build command line (by expanding the lines of the Build tab) and checking what include directives are being used. You can then examine the filesystem to see if these folder exist or not. – trojanfoe Feb 20 '19 at 11:07
  • @trojanfoe oh, so you don't vote to close as duplicate? ;) – Cœur Feb 20 '19 at 12:05
  • @Cœur Not sure it is a duplicate. File not found errors can be caused by many different problems. – trojanfoe Feb 20 '19 at 13:11

2 Answers2

1

i have the same issue, i simply reinstall the pod file through command prompt like pod install so then my project start working.

0

enter image description hereHi, i was facing this issue . But i have this fixed error now. Go to Pod file and add "pod 'Firebase/Core', :modular_header => true and "pod 'Firebase/Messaging', :modular_header => true

enter image description here

Tajinder singh
  • 738
  • 1
  • 9
  • 18