Matt Corley Matt Corley - 9 months ago 94
Swift Question

FIRDatabase not found

I am trying to add the Firebase Realtime Database feature in my application but I realised I had not put it in my

pod file

So that's what I did, I added
and ran
pod update
and went back into my workspace and I still cannot access

Here is what my
looks like:

target 'myproject' do
pod 'Firebase'
pod 'Firebase/Auth
pod 'Firebase/Database'

Thank you to anybody that replies it, is much appreciated.


Did you open the cocoapod generated file .xcworkspace or the one you already had .xcodeproj? Try to use Swift 3 and Xcode 8

Thats the way you should do it inside the podfile:

platform :ios, '8.0'

    target 'YourTargetName' do
      pod "Firebase"
      pod 'Firebase/Database'