Skip to content

'FirebaseCore/FirebaseCore.h' file not found when trying to Archive iOS Project #2233

@1omarsaid

Description

@1omarsaid
  • Xcode version: 10.1
  • Firebase SDK version: Firebase (5.15.0)
  • Firebase Component: Core (what it seems to be)
  • Component version: _____

Describe the problem

I cant seem to archive my iOS project due to the fact that two errors, the following is what is shown in the logs:

/Users/omar/Desktop/Xcode/Jama3aV2/Pods/Firebase/CoreOnly/Sources/Firebase.h:1:9: error: 'FirebaseCore/FirebaseCore.h' file not found
#import <FirebaseCore/FirebaseCore.h>
^
/Users/omar/Desktop/Xcode/Jama3aV2/Jama3aV2/Services/UserService.swift:10:8: error: could not build Objective-C module 'Firebase'
import Firebase

screen shot 2019-01-03 at 8 08 50 am

screen shot 2019-01-03 at 2 55 55 pm

screen shot 2019-01-03 at 2 55 52 pm

I can build my project fine when I am simulating it, however when it comes to Archiving it, it is throwing this error. For reference this is my Podfile:

screen shot 2019-01-03 at 11 31 43 pm

Steps to reproduce:

What happened? How can we make the problem occur? To reproduce this issue, I just changed the device to "Generic iOS Device" and the Product > Archive

Somethings I have done:

  • In build settings, I removed armv7 from the Valid Architecture.
  • In build settings, under "Enable Modules (C and Objective C)" I made Release == "NO"
  • I have tried cleaning, reinstalling and building the project multiple times.

Please help, I have spent at least 8 hours nonstop trying to figure this out and I cant understand why its failing only when I try to archive it. Lastly, The following are the versions of my pods:

screen shot 2019-01-03 at 11 37 52 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions