Firebase Performance Monitoring has not yet been added to Swift Package Manager. It would be nice to have this feature.
@paulb777 https://github.com/firebase/firebase-ios-sdk/issues/6362#issuecomment-694317104 recommended creating a separate issue to track interest in Swift Package Manager support for Firebase Performance Monitoring. Thumbs up this issue to indicate that this is a high priority feature.
Do you have a deadline to add support for Firebase Messaging as well? @paulb777
@noah-trilling Thanks for opening the issue. At this point, we're still working through the planning for FirebasePerformance. We'll update here when we have more to report. In the meantime, the thumbs help us to prioritize :)
@joaoduartemariucio Firebase Messaging SPM has landed in the Firebase 7.x breaking change branch in #6541 which should get out in the next few months.
@paulb777 Perfect, thanks for the feedback.
is it possible to sideline pod 'Firebase/Performance', or is the podspec going to cause issues dependency conflicts with spm. I guess i can just give it a try
The pod dependencies are likely to cause problems. A better workaround would be to get its binary from the zip distribution or Carthage distribution.
@paulb777 duh, sorry. Thanks for working on this
@paulb777 Could you please notify this issue when the version of Firebase Message with SPM support is released. I am looking forward to implementing it in my project. Or if there is a place that I can follow?
@joaoduartemariucio The FirebaseMessaging SPM support will be coordinated with the release of this milestone - https://github.com/firebase/firebase-ios-sdk/milestone/37
@paulb777 I see that adding SPM support for Performance is slated for Firebase 7. We are migrating to SPM in our project and, unfortunately, will need to drop our dependency on Performance. For planning purposes, is there an estimated timeline for the Firebase 7 release?
@clayellis-cricut Sorry, we don't communicate dates for anything not in this GitHub repo and even there we only share expectations based on our typical release patterns. While, Firebase Messaging is slated for Firebase 7, Firebase Performance is not. We'll add a milestone to this issue when it's expected.
Thanks for the timely response. Makes sense.
Anything new regarding this issue?
For those that haven't seen, Messaging was added to the 7.0 release already.
Firebase Performance was just open sourced last night and is a major unblocker for SwiftPM support, but one blocker remains. Once FirebasePerformance removes its dependency on Protobuf, we'll be able to add support. No current ETA at the moment but stay tuned. Thanks!
Any progress on this front? This is the last thing holding me back from dropping Cocoapods. Thanks!
Most helpful comment
For those that haven't seen, Messaging was added to the 7.0 release already.
Firebase Performance was just open sourced last night and is a major unblocker for SwiftPM support, but one blocker remains. Once FirebasePerformance removes its dependency on Protobuf, we'll be able to add support. No current ETA at the moment but stay tuned. Thanks!