New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geofire Cocoapod 2.0 Isn't Available #48
Comments
The |
@jwngr Looking forward to it! |
Is this still being updated today? Sorry, but I have an app that relies on this.... @jwngr |
Watching this, too! Glad this post was here...wasn't working for me! Very excited for this...thank you!!! |
We are still working through some CocoaPods issues. @greggmojica - There's a perfectly usable |
It's an open source project as well, so folks are welcome to use it as a local spec--you're not even blocked on using the new version locally (or even shipping like this!)
|
Running it locally gives me a build error saying "Module Firebase not found." I'm a novice but the directions seem pretty straightforward. I'll wait for the cocoa pods, but just found it interesting I'm getting an error and you seem to be having trouble... |
@jwngr Please let us know here when it is out. Do you think it will be out today? |
If anyone else was having that "Firebase module not found issue" - in the two places it identified errors, I replaced "@import Firebase;" with the line suggested here, and it worked: http://stackoverflow.com/questions/37322473/firebase-module-install-on-ios#comment62164478_37322473 |
Really no reason to wait on this. Download it to your machine and use the "path" to point to it. I have 2.0 working fine. Whenever it hits cocoa pods, I'll just switch the line in the pod file. |
Im having a error at "@import Firebase;" in Geofire.m |
@mpcmarques See my post above...I was having trouble posting the exact line to change that to (twice) but the link I posted has it |
@greggmojica Seriously, it is incredibly easy to install locally. I am an extreme(!) novice and I got it working. No reason to have any delay based on this. Download it, add the location of the folder to the pod file (using that "path" thing mentioned above), then (for me) fix that import error twice. And I have 2.0 working. |
I'm experiencing multiple errors with the "workaround". Really hoping we could get an official version out. 1st. Update the //...
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'
// ... 2nd.
3rd. Replace |
@zgosalvez my path in the pod file is a local folder. I downloaded the zip of geofire, unzipped, and used the path for that folder. (Dragged onto the open pod file to get its full path.) |
@mcmarshall Did it your way, still no cigar; shows the same issues I stated. Thanks for the tip anyway. |
Is there a fix for this? I have the pods Firebase 3.2.1 and GeoFire 2.0.0 via git installed however I am getting errors in GeoFire.h and GFQuery.h saying Module 'Firebase' not found. I have tried replacing |
I use Firebase 3.2.1 from Cocoapods, and have GeoFire 2.0.0 working on Swift ! Just download GeoFire project from GitHub website, drag and drop GeoFire sources into my project and create a Bridging-Header to import "GeoFire.h", and all is working great ;) |
Hey @fredericdnddev. What do you mean by "sources" specifically if you don't mind me asking? Also, in the bridging header, do you write |
Hey @manticarodrigo, sorry, I mean the GeoFire folder containing the API and Implementation folders, and the .pch file. Drag the GeoFire folder into your project and select "Create groups" instead of "Create folder references", all the GeoFire files will be at the root of your project, so you can just import it in your bridging header with : #import "GeoFire.h" |
And I forgot one thing, you'll got an error saying that 'GeoFire/GeoFire.h' file is not found, so just replace the #import line with that of your bridging header, because GeoFire.h is no longer in the GeoFire folder, but at the root of your project |
You drag the entire "GeoFire" folder containing those things, or the contents inside the folder? I am still getting the "Use of unresolved identifier "GeoFire" warning. |
1- drag the folder "GeoFire" into your project in Xcode Have you added your Bridging-Header in Build Settings ? |
Thank you! I'll let you know if it works when Game of Thrones is over! |
No problem, good episode ;) |
I hadn't added the bridging header to build settings. You're a life saver @fredericdnddev! Great episode btw. |
Can Firebase get the cocoapod version working, please? I keep getting the same issues, and the solution posted by @fredericdnddev didn't work for me (a lot of other errors showed up regarding GeoFire.m). I'd very much like to use this framework! |
I'm getting that while using the local path to the latest version I just downlaoded: /iosprojects/project name/Pods/Headers/Private/Firebase/Firebase.h:1:9: 'FirebaseAnalytics/FirebaseAnalytics.h' file not found I can't change the file (locked and can't unlock it) so no way to try and fix it. |
@ripkaskalalaz nice , thanks for the fast reply |
@brunocortes06 if you are using Firebase 3.8.0+ then make sure you modified your post_install section to follow @programmerdave version above: #48 (comment) |
@AJMiller my firebase is 3.3.0 my paths seems to be correct too and i tried this post install, continue having a .xcconfig file in Pods section |
@brunocortes06 that is totally normal. Take a look at my fully functioning firebase/geofire based app |
Summary as described by zgosalvez: if compiler doesn't find FirebaseDatabase.h: Select FirebaseDatabase.framework from Pods->Pods->FirebaseDatabase->Frameworks->FirebaseDatabase.framework, open right panel, select GeoFire for Target Membership |
Any Idea if this is on the roadmap to be fixed.. ? |
go to 'Pods', then got the new 'pod' folder in the original 'pod' folder, then go to 'firebasedatase' folder, go to frameworks, then click on 'FirebaseData...se.framework'. on the right side menu check 'goofier' and build. works! ur welcome |
Still waiting for the pod. Any updates ? |
is any way to install 2.0 manually ? |
The answer is that you'll want to use the open source version of the Firebase SDK, which won't have these issues. I can change |
@moazkh60 @yarodevuci It takes roughly two minutes to copy it manually. If you get stuck - happy to share a video of how to do it. Is there a nice simple "Hello World" app for Geofire? if not - I can spin up one with a Geofire Client |
@grantkemp I know I already did and now I am using it but still It would be great if they release the pod. |
… source), as it should end issues with "transitive dependencies on static binaries" that we're seeing (e.g. #48). Note: due to duplicate symbol issues, if you want to use GeoFire in this way, you'll have to use the FirebaseCommunity pod for other dependencies (Auth, Storage, Messaging), and won't be able to use any other Firebase features. Once we can resolve the "transitive dependencies" issue in the Firebase pod (merging pods, shipping the pod as dylibs, etc.), we'll switch back to the Firebase pod and the above issue will go away.
Turns out the pod is released, it just doesn't work the same way as the |
Any update ? would be fine to use this pod 'as is' without any tricks |
I believe things are "Just Working" in CocoaPods 1.4.x (still in beta). You can install the beta version of CocoaPods via: The following Podfile worked for me:
|
What is the latest? |
@bbookman now that CocoaPods 1.4 is live, |
I've just installed the latest version with cocoapods |
@borut-t - I haven't worked at Google / Firebase for several years, so there's not much I can do at this point. Have a good day. |
@jwngr I didn't want to point at you. I've just read the responses and you were the one responding to questions. Sorry about that, I was just angry about the current state. |
I'm confused, it works now, right? We just forgot to close the issue? |
@mcdonamp I was confused too. It works now yes. |
Hi,
I'm just confused because the ReadMe says I can download the Geofire 2.0 Cocoapod, but when I try to do it, I get this message:
None of your spec sources contain a spec satisfying the dependency:
GeoFire (~> 2.0)
.And when I look at the page on the CocoaPod website, it says version 1.1.3 is the latest one.
Is this on purpose? When will the cocoapod be ready for this newest version of Geofire?
The text was updated successfully, but these errors were encountered: