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 .
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.
Try do it: https://youtu.be/009UrLVlAbo?t=67 but just change the import header file like this:
#import <Firebase/Firebase.h>
#import <GeoFire/GeoFire.h>
On XCode 7.2, with Swift, and ran into this same issue when mixing Firebase and Google Analytics pods.
Firebase alone works fine with "use_frameworks!" in the Podfile, but Google Analytics pod install needs that line commented out. So bridging header file is needed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.