firebase-ios-sdk: Do not building iOS app - Firebase doesn't find FirebaseCore.h

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 11.3.1
  • Firebase SDK version: 6.16
  • Firebase Component: Core, Messaging, Analytics
  • Installation method: CocoaPods

I am facing with a big problem to use Firebase pod.

It isn’t allow me to build my pipeline on Azure DevOps.

Basically, when I try #import <Firebase/Firebase.h> in AppDelegate.m, that pod doesn’t find FirebaseCore.

Use can see better in image that I have attached here.

P.S: I needed to hidden some important informations about my project on image. Sorry

Captura de Tela 2020-01-29 às 16 57 53

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

Hi @itsector-esanti sorry for the trouble - can you please post the Podfile.lock and Podfile you have so we can see what’s being pulled in? Another thing to confirm - are you using the generated .xcworkspace for the project or the .xcodeproj instead? With CocoaPods you should be using the .xcworkspace.

@ryanwilson I removed Firebase/Core and tried again, but I got the same error in my CI.

About run it locally, I got the same problem too

@ryanwilson I’ll remove Firebase/Core from my Podfile and try build it locally again.

As soon as possible, I write my results here.

@itsector-esanti I chatted offline with @rizafran and afterwards we were both unable to reproduce the issue.

Is it possible that the target name is different from the xxxxxx Private you had put? It could be that the pods are being included for a different target than you’re trying to include.

It’d also be helpful to know if you can reproduce this locally or it’s just in CI.

Thanks!

Hmm, including or excluding Firebase/Core shouldn’t make a difference.

Firebase/Core just points to FirebaseAnalytics and Firebase/CoreOnly, and Firebase/Analytics internally points to Firebase/Core so it should bring in the exact same set of dependencies.

I’ll try to repro again.