-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
- 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
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:
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:




