Skip to content
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

Compiling geofire via cocoapod in swift project #13

Closed
tommybananas opened this issue May 21, 2015 · 3 comments
Closed

Compiling geofire via cocoapod in swift project #13

tommybananas opened this issue May 21, 2015 · 3 comments

Comments

@tommybananas
Copy link

I'm creating a new swift project, and adding these dependancies in my PodFile:
pod 'Firebase', '> 2.2'
pod 'GeoFire', '
> 1.1'

Then I'm including them both in a bridged header:
screen shot 2015-05-20 at 10 48 02 pm

And the GeoFire.h header inside of the Pods project says it can't find the FireBase header:
screen shot 2015-05-20 at 10 44 48 pm

Any help would be appreciated, thanks!

@katfang
Copy link
Contributor

katfang commented May 21, 2015

This was just fixed in #14. :)

Until we push a new version to Cocoapods, you can get the updated version with:

pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'

If the compiler then tells you something like "Use of unresolved identifier 'GeoFire'", try importing GeoFire straight in your Swift file with import GeoFire.

I'll leave this open for now and post again when it's been released to Cocoapods.

@tommybananas
Copy link
Author

Thank you so much :)

On Thu, May 21, 2015 at 6:21 PM, katfang notifications@github.com wrote:

This was just fixed in #14
#14. :)

Until we push a new version to Cocoapods, you can get the updated version
with:

pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'

If the compiler then tells you something like "Use of unresolved
identifier 'GeoFire'", try importing GeoFire straight in your Swift file
with import GeoFire.

I'll leave this open for now and post again when we've released to
Cocoapods.


Reply to this email directly or view it on GitHub
#13 (comment)
.

@katfang
Copy link
Contributor

katfang commented May 27, 2015

GeoFire has now been updated to 1.1.1 on Cocoapods. Using the bridging header should work!

@katfang katfang closed this as completed May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants