Swiftpack.co -  segment-integrations/analytics-ios-integration-firebase as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Segment's bundled integration for Firebase on iOS
.package(url: "https://github.com/segment-integrations/analytics-ios-integration-firebase.git", from: "list")


CircleCI Version License Platform


To run the example project, clone the repo, and run pod install from the Example directory first.



Segment-Firebase is currently only available through CocoaPods.

Register your app in the Firebase console and add the GoogleService-Info.plist to the root of your Xcode project.

Add the following dependency to your Podfile:

pod 'Segment-Firebase'

After adding the dependency and running pod install, import the integration:

#import <Segment-Firebase/SEGFirebaseIntegrationFactory.h>

Finally, register the dependency with the Segment SDK:

[config use:[SEGFirebaseIntegrationFactory instance]];

By default, Segment only bundles Firebase/Core which is Firebase's Analytics offering. You can see the other available Firebase pods and features here.


Segment-Firebase is available under the MIT license. See the LICENSE file for more info.


Stars: 7
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

12 weeks ago
  • Make Firebase key mapping recursive.
  • Added Swift Package Manager support.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API