JSQMessagesViewController And GeoFire are not compatible?

2

I am working on an application in Xcode with Swift 3 for IOS where I am using GeoFire to know the location of the users but when I try installing the JSQMessagesViewController pod in my project I get an error with GeoFire:

  

"FirebaseDatabase / FirebaseDatabase.h" not found.

Without adding anything else to the project just by installing the JSQMessagesViewController pod I get that error with GeoFire ..

Why is this? It has a solution? Thanks.

    
asked by Irving 22.02.2017 в 21:45
source

1 answer

0

Based on the documentation of Firebase you have to do the following:

  • In your pod add: pod 'Firebase/Database'
  • Subsequently, add the framework in your swift file in the following way:

    import Firebase
    
  • Finally you must follow the instructions as indicated by the Firebase documentation: link

  • I hope it helps you.

    Greetings.

        
    answered by 25.04.2017 в 13:38