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

FR: Swift Package Manager Support for Firestore and Auth #2135

Closed
ghost opened this issue Nov 30, 2018 · 12 comments
Closed

FR: Swift Package Manager Support for Firestore and Auth #2135

ghost opened this issue Nov 30, 2018 · 12 comments

Comments

@ghost
Copy link

ghost commented Nov 30, 2018

[READ] Step 1: Are you in the right place?

Current Firestore Implementation can be used in SPM with Module map.

[REQUIRED] Step 3: Describe the problem

Use firestore and Auth with SPM Packege

@ryanwilson
Copy link
Member

Thanks for the feature request, @ios3! I have a few questions about your usage, if you don't mind!

  1. Do you currently use SPM for your iOS App?
  2. Are you using SPM for other platforms?
  3. You mentioned that the current Firestore Implementation can be used in SPM with a module map - have you tried this, and if so, can you please share some details?

This is something we're keeping a close eye on, but does have some challenges. Every dependency of a SPM project also needs to be on SPM, so there's some groundwork to be done in order to get up to speed there. The priority of this will jump significantly this when SPM gets official support for iOS, but ideally we already support it when that happens :) If you could help answer those questions above, it'll help us prioritize things and understand how SPM is being used in the wild.

Cheers!

@ghost
Copy link
Author

ghost commented Dec 3, 2018

Do you currently use SPM for your iOS App?
No, we are currently using SPM for our CLI App.
Are you using SPM for other platforms?
Yes, CLI and Server Side
You mentioned that the current Firestore Implementation can be used in SPM with a module map - have you tried this, and if so, can you please share some details?
No

@ryanwilson
Copy link
Member

Thanks for the info, @ios3.

@ethanbonin
Copy link

Checking in on this. Any status? Anything I can help on to get Cloud Firestore out and in the open for SPM?

@ryanwilson
Copy link
Member

Thanks for checking in @ethanbonin.

We've done some preliminary investigations and part of the difficulty would be that all Firestore dependencies (and their dependencies) would also need to be available on Swift Package Manager.

You can see the list starting here:

s.dependency 'FirebaseAuthInterop', '~> 1.0'

A good start would be getting a package up and running with GoogleUtilities, followed by FirebaseCore. Hopefully we can get to that soon but until Apple announces support for iOS it's likely that it'll be a lower priority. If you want to give it a go, I'd be happy to help out, review, and provide any extra insight I can!

@possen
Copy link

possen commented Jun 6, 2019

OK Apple supports it now. High priority right!? :-)

@paulb777
Copy link
Member

paulb777 commented Jun 6, 2019

@possen Yep!

@MihaelIsaev
Copy link

Can't wait for SPM support!

@nakkht
Copy link

nakkht commented Jun 24, 2019

Would love to see SPM support!

@AlexLike
Copy link

Yes, please!

@spencerwhyte
Copy link

+1

@paulb777
Copy link
Member

Closing in favor of #3136

@firebase firebase locked as resolved and limited conversation to collaborators Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants