
Firebase Ios Sdk
Open source Apple SDK for Firebase auth, data, push and crashes
Replaces Aws Amplify, Back4app

Who it's for
Add Authentication, Firestore, Messaging and Crashlytics from one SDK family instead of wiring separate vendors, and read the client source when behavior surprises you.
You need to run the entire backend on your own servers, because the Firebase services stay on Google's infrastructure.
Use Firebase AI Logic to call Gemini from a Swift app, including the preview adapter for Apple's Foundation Models framework.
You are building an app for a platform the SDK does not support well, such as a standalone watchOS product that depends on Crashlytics.
Teams moving off AWS Amplify or Back4App client libraries can adopt an Apache-2.0 client with tagged releases and public issue tracking.
Your data layer is tied to the paid platform's own backend model and you cannot migrate it.
The problem
Apple platform developers need a lot of backend plumbing before an app is useful: user accounts, a synced database, file storage, push delivery, crash reports and runtime configuration. Paid backend platforms cover this, but their client libraries are often opaque, so when something breaks inside the SDK you wait for the vendor. Teams also want to pin an exact commit or branch of the client code while a fix lands. An SDK with public source, public issues and tagged releases gives those teams something they can read and debug, even though the backend remains a hosted service.
How it works
FirebaseAuth handles user sign-in for Apple apps, and FirebaseAppCheck helps verify that requests to your backend come from your genuine app. Both are open source in this repository.
FirebaseFirestore and FirebaseDatabase give your app database access from Swift or Objective-C. visionOS needs the Firestore source distribution when installing through Swift Package Manager.
Cloud Messaging, In-App Messaging, Crashlytics and Performance Monitoring cover push delivery, in-app prompts, crash reports and runtime performance, so one SDK family handles app diagnostics.
FirebaseAI lets you add Gemini-powered features to an app. The README also lists a preview adapter for Gemini and Apple's Foundation Models framework.
FirebaseRemoteConfig changes app behavior without a release, FirebaseStorage handles file uploads, and FirebaseFunctions calls server-side code from the client.
Features
- Authentication and App Check
- Cloud Firestore and Realtime Database
- Messaging, Crashlytics and Performance
- Firebase AI Logic with Gemini
- Remote Config, Storage and Functions
How to install
Install through Swift Package Manager in Xcode by following the Firebase setup docs, or clone the source to build or contribute.
git clone https://github.com/firebase/firebase-ios-sdk.gitRecommended for this setup
Strengths
- Readable, forkable client source: All official releases are tagged, and you can install from a branch, tag or local checkout with Podfile directives. That makes debugging and patching the client far easier than with a closed binary.
- Broad Apple platform coverage: Firebase provides official beta support for macOS, Catalyst and tvOS, with community support for visionOS and watchOS. Most products are available across Apple platforms.
- Active maintenance and a large community: The repository has about 6,900 stars and 1,800 forks, and its last push landed on the day this review was written. Community contributions cover several multi-platform pull requests.
Trade-offs
- The backend is not self-hostable: The Apache-2.0 license covers this repository only. Your use of Firebase services is governed by the Terms of Service for Firebase Services, and the backend runs on Google's infrastructure, so you cannot self-host it from this code.
- FirebaseAnalytics is not open source: The repository contains every Apple platform library except FirebaseAnalytics. Its precompiled binaries are included when you install through Swift Package Manager or CocoaPods.
- CocoaPods publishing ends in October 2026: New Firebase Apple SDK versions will no longer be published to CocoaPods after October 2026. Existing versions keep working, but projects on CocoaPods need to migrate to Swift Package Manager.
- Uneven support on watchOS and visionOS: watchOS is not officially supported, and Crashlytics there records neither mach exceptions nor signal crashes. The Combine module is also not yet supported for production use. The repository lists 465 open issues.
Tech stack
FAQ
Partly. The Apple SDK source in this repository is licensed under Apache-2.0, covering all Apple platform Firebase libraries except FirebaseAnalytics. The hosted backend services are governed by the Terms of Service for Firebase Services and are not part of this repository.
No. This repository contains the client SDK for Apple platforms. The backend services run on Google's infrastructure, so you can read and modify the client code but not host the backend yourself.
Amplify and Back4App are paid commercial platforms for backend services. The Firebase Apple SDK covers similar app needs such as authentication, data, storage and messaging, with an Apache-2.0 client you can inspect, though its backend is also a hosted service.
Prefer Swift Package Manager. Firebase will stop publishing new Apple SDK versions to CocoaPods after October 2026. Existing CocoaPods versions remain available and installations stay functional.