Search code examples
iosxcodeswiftgeofire

Xcode / Swift: No such module 'GeoFire'


I have downloaded latest GeoFire framework v1.1.3 from here and dropped it in my Swift Xcode project but my import GeoFire statement is throwing

No such module 'GeoFire'

This is very strange because a few minutes ago I did the same for Firebase framework and it is working fine. My target is iOS 8.0 and I believe I do not need Bridging header.

Framework is present in linked frameworks and libraries , Embedded Binaries and link binary with libraries.


Solution

  • If you are writing this in swift (its in your tags) you'll need to create a Bridging Header file to be able to expose the Objective C library to your swift code, importing the objective c library in the bridging header fie. Here's a guide on how to do this

    Hope this solves your issue.