Module 'Firebase' not found?

9,185 views
Skip to first unread message

Bottle Handy

unread,
May 21, 2016, 11:52:05 AM5/21/16
to Firebase Google Group
I follow quick started guide here https://firebase.google.com/docs/ios/setup to add Firebase into my project. I have successfully added SDK via Podfile. But in the last step I got error "Module 'Firebase' not found" when trying  @import Firebase; to my project AppDelegate.h
Please help.
Screenshot 2016-05-21 22.34.24.png

Bottle Handy

unread,
May 21, 2016, 12:38:38 PM5/21/16
to Firebase Google Group
I have found solution on stackoverflow:

Doing the following steps on the terminal command line:

  1. 1. pod repo update
  2. 2. Commented the pod 'Firebase' line from my Podfile
  3. 3. pod install (this removed the old Firebase)
  4. 4. Added the pod 'Firebase' line again.
  5. 5. pod install (added the new Firebase)

2nd and 3rd steps were the key I think, otherwise CocoaPods didn't try to update it. As I said maybe this could've been solved by doing pod update but now I can't go back and try again.

Kato Richardson

unread,
May 21, 2016, 1:11:42 PM5/21/16
to Firebase Google Group

Thanks for circling back here and helping others!

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/69eea529-918b-47e4-918e-e4de294ed276%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Randy Sternke

unread,
Jun 23, 2016, 5:30:25 PM6/23/16
to Firebase Google Group
This worked perfectly. Thank you for sharing here!

Mike Mcdonald

unread,
Jun 23, 2016, 10:10:52 PM6/23/16
to Firebase Google Group
The issue is also documented here: http://stackoverflow.com/questions/37870969/unable-to-find-a-specification-for-firebase-adding-firebase-sdk-by-using-coco

TL;DR: it's an issue with how CocoaPods updates pods. You may also be able to remove your Podfile.lock (which was likely locked to 2.x), and `pod update`, but you'll need to make sure your repo is up to date.

Thanks,
--Mike
Reply all
Reply to author
Forward
0 new messages