# firebase/firebase-ios-sdk

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/firebase-firebase-ios-sdk).**

6,618 stars · 1,757 forks · C++ · Apache-2.0

## Links

- GitHub: https://github.com/firebase/firebase-ios-sdk
- Homepage: https://firebase.google.com
- awesome-repositories: https://awesome-repositories.com/repository/firebase-firebase-ios-sdk.md

## Topics

`ai` `analytics` `authentication` `crash-reporting` `database` `database-as-a-service` `firebase` `firebase-auth` `firebase-authentication` `firebase-database` `firebase-messaging` `firebase-storage` `gemini` `ios-sdk` `objective-c` `push-notifications` `storage-service`

## Description

This is a Backend as a Service SDK for Apple platforms, providing a collection of libraries that connect iOS and macOS applications to cloud databases, authentication services, and serverless infrastructure. It serves as a developer kit for integrating real-time data synchronization, file storage, and push notifications into native apps.

The SDK is distinguished by its generative AI integration, which routes text and multimodal prompts between on-device models and cloud-hosted large language models. It further differentiates itself with a specialized app distribution tool for managing pre-release binaries, tester groups, and stability tracking.

The platform covers a broad range of capabilities, including identity management with multi-provider sign-in, global data storage with ACID transactions and offline persistence, and comprehensive observability through crash reporting and performance monitoring. It also provides tools for remote configuration, behavioral messaging, and serverless backend logic execution.

Integration is supported via the Swift Package Manager, CocoaPods, and Carthage.

## Tags

### DevOps & Infrastructure

- [Serverless Execution Environments](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/serverless-execution-environments.md) — Provides a serverless environment for executing custom backend logic without manual infrastructure management. ([source](https://cdn.jsdelivr.net/gh/firebase/firebase-ios-sdk@main/README.md))
- [Backend-as-a-Service Integrations](https://awesome-repositories.com/f/devops-infrastructure/backend-as-a-service-integrations.md) — Provides a unified environment to connect Apple applications with cloud-based backend services and webhooks. ([source](https://firebase.google.com/docs/functions))
- [Backend-as-a-Service](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/backend-as-a-service.md) — Provides managed services including cloud databases, authentication, and serverless infrastructure to simplify application development.
- [Event-Driven Job Scaling](https://awesome-repositories.com/f/devops-infrastructure/event-driven-job-scaling.md) — Executes server-side code automatically in response to backend events, HTTP requests, or scheduled jobs.
- [Serverless Backend Hosting](https://awesome-repositories.com/f/devops-infrastructure/serverless-backend-hosting.md) — Executes custom backend code in response to events or HTTP requests without managing server infrastructure.
- [Phone Number Authentications](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/backend-as-a-service/authentication-as-a-service/phone-number-authentications.md) — Implements user identity confirmation via SMS codes and phone number verification. ([source](https://firebase.google.com/docs/auth))
- [Remote Parameter Overrides](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/application-settings-management/application-behavior-configurations/behavioral-overrides/remote-parameter-overrides.md) — Provides the ability to alter application behavior dynamically via cloud-based parameter overrides without requiring a new store release. ([source](https://firebase.google.com/docs/remote-config))
- [Server-Side Message Dispatchers](https://awesome-repositories.com/f/devops-infrastructure/messaging-servers/server-side-message-dispatchers.md) — Enables building and sending messages from a trusted server environment using a server SDK. ([source](https://firebase.google.com/docs/cloud-messaging))
- [CI Pipeline Integrators](https://awesome-repositories.com/f/devops-infrastructure/release-automation/ci-pipeline-integrators.md) — Uploads application builds from continuous integration pipelines using command-line tools and build tasks. ([source](https://firebase.google.com/docs/app-distribution))
- [Gradual Rollouts](https://awesome-repositories.com/f/devops-infrastructure/release-lifecycle-management/feature-orchestration/gradual-rollouts.md) — Releases new parameter values to a targeted percentage of users to monitor stability. ([source](https://firebase.google.com/docs/remote-config))

### Mobile Development

- [Cloud Integration SDKs](https://awesome-repositories.com/f/mobile-development/cloud-integration-sdks.md) — Provides a comprehensive developer kit for integrating real-time data synchronization, file storage, and push notifications into Apple apps.
- [AI Prompt Routing](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-development/android-integrations/generative-ai-integrations/ai-prompt-routing.md) — Routes text and multimodal prompts between on-device models and cloud-hosted large language models.
- [Beta Distribution Management](https://awesome-repositories.com/f/mobile-development/beta-distribution-management.md) — Manages pre-release binary uploads, tester groups, and stability tracking for Apple app builds.
- [Crash-Analytics Correlation](https://awesome-repositories.com/f/mobile-development/data-backend/crash-analytics-correlation.md) — Captures errors as analytics events to surface the sequence of user actions preceding a crash. ([source](https://firebase.google.com/docs/crashlytics))
- [Mobile App Distribution Platforms](https://awesome-repositories.com/f/mobile-development/distribution-updates/mobile-app-distribution-platforms.md) — Hosts and shares pre-release mobile builds with testers through a dedicated management platform.
- [Mobile Behavioral Tracking SDKs](https://awesome-repositories.com/f/mobile-development/mobile-behavioral-tracking-sdks.md) — Tracks app usage and engagement patterns using native SDKs to optimize the product experience. ([source](https://cdn.jsdelivr.net/gh/firebase/firebase-ios-sdk@main/README.md))
- [Real Device Testing](https://awesome-repositories.com/f/mobile-development/mobile-infrastructure-security/mobile-device-management/device-hardware-accessors/real-device-testing.md) — Runs automated tests on physical devices in a data center to identify hardware compatibility issues. ([source](https://firebase.google.com/))

### Artificial Intelligence & ML

- [Generative AI Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-integrations.md) — Provides frameworks for connecting mobile applications to large language models for text, image, and multimodal AI prompts.
- [Provider Switching](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/model-integration-serving/model-integration-interfaces/ai-integration-apis/openai-compatible-apis/provider-switching.md) — Provides a mechanism to switch between different AI API providers with minimal code changes. ([source](https://firebase.google.com/docs/ai-logic))
- [Document Analysis Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-content-analysis/document-analysis-engines.md) — Analyzes images and PDFs using generative AI models to extract text-based insights and summaries. ([source](https://firebase.google.com/docs/ai-logic/apple-foundation-models-framework/get-started))
- [Hybrid Local-Remote AI Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/hybrid-local-remote-ai-routing.md) — Routes AI tasks between local on-device binaries and cloud APIs to optimize for latency and performance. ([source](https://firebase.google.com/docs/ai-logic))
- [LLM Response Streaming](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-response-streaming.md) — Streams partial results from generative AI models incrementally to reduce perceived user latency. ([source](https://firebase.google.com/docs/ai-logic/apple-foundation-models-framework/get-started))
- [Edge AI Model Deployment](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/local-and-on-device-inference/edge-ai-model-deployment.md) — Manages the downloading and execution of custom machine learning models directly on the local device. ([source](https://firebase.google.com/docs/ios/setup))
- [AI Model Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-inference-serving/model-integration-pipelines/ai-model-integrations.md) — Provides adapters and interfaces to route requests to hosted large language models for advanced reasoning. ([source](https://firebase.google.com/docs/ai-logic/apple-foundation-models-framework/get-started))
- [Behavioral Event Triggers](https://awesome-repositories.com/f/artificial-intelligence-ml/message-driven-dialog-triggers/behavioral-event-triggers.md) — Displays messages the moment a user performs a predefined action to ensure immediate relevance. ([source](https://firebase.google.com/docs/in-app-messaging))
- [AI Model Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/pre-built-tool-integrations/ai-model-integrations.md) — Integrates pre-built generative AI models into applications using managed cloud infrastructure. ([source](https://firebase.google.com/))
- [Prompt-Based Text Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-based-text-generation.md) — Submits text-only prompts to generative models to receive text-based responses. ([source](https://firebase.google.com/docs/ai-logic/apple-foundation-models-framework/get-started))
- [Multimodal Prompting](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-engineering-guides/multimodal-prompting.md) — Supports multimodal inputs including text, images, PDFs, video, and audio for comprehensive AI responses. ([source](https://firebase.google.com/docs/ai-logic))

### Data & Databases

- [ACID Transactional Cores](https://awesome-repositories.com/f/data-databases/acid-transactional-cores.md) — Implements atomic batch operations and multi-document transactions to ensure strong data consistency. ([source](https://firebase.google.com/docs/firestore))
- [Client-Side Database Access](https://awesome-repositories.com/f/data-databases/client-side-database-access.md) — Allows mobile devices to read and write to the database directly using expression-based security rules. ([source](https://firebase.google.com/docs/database))
- [Cloud File Management](https://awesome-repositories.com/f/data-databases/cloud-file-management.md) — Provides tools for uploading and retrieving user-generated content and large binary files from scalable cloud buckets. ([source](https://firebase.google.com/))
- [Local-First Data Persistence](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage-architectures/local-first-data-persistence.md) — Caches active data locally to enable seamless read and write operations without an active network connection.
- [Global Database Synchronization](https://awesome-repositories.com/f/data-databases/global-database-synchronization.md) — Synchronizes application data across devices at global scale without manual server management. ([source](https://firebase.google.com/docs))
- [Offline-First Persistence](https://awesome-repositories.com/f/data-databases/offline-first-persistence.md) — Caches active data locally to enable application responsiveness and data access without a network connection. ([source](https://firebase.google.com/docs/database))
- [Query Filters](https://awesome-repositories.com/f/data-databases/query-sorting/query-filters.md) — Enables retrieval of documents using chained filters, sorting, and pagination. ([source](https://firebase.google.com/docs/firestore))
- [Real-time Data Synchronization](https://awesome-repositories.com/f/data-databases/real-time-data-synchronization.md) — Propagates data changes to connected clients within milliseconds via persistent WebSocket connections.
- [Structured JSON Generation](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/data-serialization/json-schema/structured-json-generation.md) — Enforces JSON schema adherence during the generative process to produce structured data outputs. ([source](https://firebase.google.com/docs/ai-logic/apple-foundation-models-framework/get-started))
- [Database Instance Scaling](https://awesome-repositories.com/f/data-databases/horizontal-scaling/replica-scaling/container-instance-scaling/database-instance-scaling.md) — Distributes data across multiple database instances within a single project to support increased loads. ([source](https://firebase.google.com/docs/database))
- [SQL Database Connectivity](https://awesome-repositories.com/f/data-databases/sql-database-connectivity.md) — Links application data to managed SQL databases for structured querying via backend services. ([source](https://firebase.google.com/))

### Development Tools & Productivity

- [Backend Resource Access Rules](https://awesome-repositories.com/f/development-tools-productivity/declarative-rule-engines/backend-resource-access-rules.md) — Implements a server-side expression-based rules language to control access to backend resources based on identity and context.
- [App Integrity Attestations](https://awesome-repositories.com/f/development-tools-productivity/attestation-verification-tools/app-integrity-attestations.md) — Augments API requests with device-level tokens to verify that requests originate from genuine, untampered applications.
- [Custom Trace Helpers](https://awesome-repositories.com/f/development-tools-productivity/code-instrumentation-utilities/custom-trace-helpers.md) — Instruments specific code sections with custom traces to measure performance of targeted user flows. ([source](https://firebase.google.com/docs/perf-mon))
- [Local Emulation Environments](https://awesome-repositories.com/f/development-tools-productivity/local-emulation-environments.md) — Provides an emulator to run and debug cloud functions on a local machine before deployment. ([source](https://firebase.google.com/docs/functions))
- [Pre-release Build Channels](https://awesome-repositories.com/f/development-tools-productivity/release-management/pre-release-build-channels.md) — Distributes application binaries to testers via a management console or CI/CD pipeline for verification. ([source](https://firebase.google.com/docs/app-distribution))

### Networking & Communication

- [Mobile Push Notification Deliveries](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/messaging-notification-systems/messaging-services/notification-delivery-services/push-notification-providers/mobile-push-notification-deliveries.md) — Sends targeted messages and notifications to mobile devices via a cloud messaging service. ([source](https://cdn.jsdelivr.net/gh/firebase/firebase-ios-sdk@main/README.md))
- [WebSocket-Based Database Synchronization](https://awesome-repositories.com/f/networking-communication/websocket-based-database-synchronization.md) — Propagates real-time data changes to connected clients via persistent bidirectional WebSocket connections.
- [AI Provider Proxies](https://awesome-repositories.com/f/networking-communication/api-proxies/ai-provider-proxies.md) — Routes client requests to AI providers through a server-side proxy to secure API keys. ([source](https://firebase.google.com/docs/ai-logic))
- [Targeted Messaging](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/messaging-notification-systems/targeted-messaging.md) — Combines analytics and user segments to deliver messages based on demographics or behavior. ([source](https://firebase.google.com/docs/in-app-messaging))
- [Targeted Client Group Messaging](https://awesome-repositories.com/f/networking-communication/communication-protocols-architectures/communication-paradigms/group-membership-management/room-management/room-list-grouping/targeted-client-group-messaging.md) — Distributes messages to individual devices, curated groups, or all subscribers of a specific topic. ([source](https://firebase.google.com/docs/cloud-messaging))

### Security & Cryptography

- [Declarative Access Control Rules](https://awesome-repositories.com/f/security-cryptography/declarative-access-control-rules.md) — Controls data read and write permissions from client devices using expression-based security rules. ([source](https://firebase.google.com/docs/database))
- [Identity Authentication](https://awesome-repositories.com/f/security-cryptography/identity-authentication.md) — Implements sign-in flows via email, phone, and OAuth providers with session management and identity verification.
- [Mobile Authentication](https://awesome-repositories.com/f/security-cryptography/identity-authentication/mobile-authentication.md) — Provides an identity layer with multi-provider sign-in, session management, and OIDC support for Apple platforms.
- [User Identity Verification](https://awesome-repositories.com/f/security-cryptography/identity-authentication/user-identity-verification.md) — Verifies user identity using email, phone, and federated providers to control application access. ([source](https://cdn.jsdelivr.net/gh/firebase/firebase-ios-sdk@main/README.md))
- [Cloud File Permissions](https://awesome-repositories.com/f/security-cryptography/permission-based-access-control/cloud-file-permissions.md) — Implements a declarative security model to control read and write permissions for cloud files. ([source](https://firebase.google.com/docs/storage))
- [Identity-Based File Access Control](https://awesome-repositories.com/f/security-cryptography/remote-access-security/secure-file-access/identity-based-file-access-control.md) — Enforces file access rules based on user identity, filename, size, and content type. ([source](https://firebase.google.com/docs/storage))
- [Secure Database Access](https://awesome-repositories.com/f/security-cryptography/secure-database-access.md) — Protects database access by enforcing security rules and IAM policies based on authenticated identity. ([source](https://firebase.google.com/docs/firestore))
- [Multi-Provider Authentication](https://awesome-repositories.com/f/security-cryptography/third-party-authentication-providers/multi-provider-authentication.md) — Provides a unified interface for identity verification supporting email, OAuth providers, phone SMS, and custom tokens.
- [API Access Security](https://awesome-repositories.com/f/security-cryptography/api-access-security.md) — Verifies that requests to AI APIs originate from genuine client applications to block unauthorized usage. ([source](https://firebase.google.com/docs/ai-logic))
- [Anonymous Authentication](https://awesome-repositories.com/f/security-cryptography/authentication-clients/anonymous-authentication.md) — Provides temporary anonymous accounts that can be transitioned to permanent user accounts. ([source](https://firebase.google.com/docs/auth))
- [Authentication Service Integrations](https://awesome-repositories.com/f/security-cryptography/authentication-service-integrations.md) — Integrates existing external sign-in systems to allow access using current credentials. ([source](https://firebase.google.com/docs/auth))
- [Attestation-Based Request Blocking](https://awesome-repositories.com/f/security-cryptography/custom-permissions/unauthorized-response-customization/attestation-based-request-blocking.md) — Rejects API requests lacking valid attestation tokens to prevent unauthorized backend access. ([source](https://firebase.google.com/docs/app-check))
- [Enterprise Identity Providers](https://awesome-repositories.com/f/security-cryptography/enterprise-identity-providers.md) — Supports corporate identity services through integration with SAML and OpenID Connect providers. ([source](https://firebase.google.com/docs/auth))
- [Pre-built Authentication Components](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/user-facing-login-methods/multi-factor-authentication/pre-built-authentication-components.md) — Provides a drop-in user interface for handling sign-in flows and account recovery. ([source](https://firebase.google.com/docs/auth))
- [Identity Federation Providers](https://awesome-repositories.com/f/security-cryptography/identity-federation-providers.md) — Enables authentication via social identity providers using standardized federation protocols. ([source](https://firebase.google.com/docs/auth))
- [Multi-Factor Authentication](https://awesome-repositories.com/f/security-cryptography/multi-factor-authentication.md) — Requires a second verification step, such as an SMS code, to increase account security. ([source](https://firebase.google.com/docs/auth))
- [Rate Limiting & Abuse Prevention](https://awesome-repositories.com/f/security-cryptography/rate-limiting-abuse-prevention.md) — Restricts the number of AI API calls a single user can make within a time window to prevent abuse. ([source](https://firebase.google.com/docs/ai-logic))
- [Sign-In Event Hooks](https://awesome-repositories.com/f/security-cryptography/web-sign-in-flows/sign-in-event-hooks.md) — Executes custom server-side code to modify or validate user registration and sign-in requests. ([source](https://firebase.google.com/docs/auth))

### Software Engineering & Architecture

- [Client-Isolated Backend Execution](https://awesome-repositories.com/f/software-engineering-architecture/client-isolated-backend-execution.md) — Runs backend code insulated from client devices to prevent tampering and reverse engineering. ([source](https://firebase.google.com/docs/functions))
- [Hierarchical Data Structures](https://awesome-repositories.com/f/software-engineering-architecture/hierarchical-data-structures.md) — Organizes data into documents and collections with support for complex nested objects. ([source](https://firebase.google.com/docs/firestore))
- [Multi-tenancy Isolation](https://awesome-repositories.com/f/software-engineering-architecture/multi-tenancy-isolation.md) — Implements separate user silos and configurations within a single project to support multi-tenant architectures. ([source](https://firebase.google.com/docs/auth))

### System Administration & Monitoring

- [App Stability Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/app-stability-monitoring.md) — Tracks crashes, network latency, and screen render times to diagnose bugs and optimize the user experience.
- [Mobile Performance Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/application-performance-monitoring/application-performance-monitoring/mobile-performance-monitoring.md) — Captures crash reports, tracks network latency, and measures screen rendering times in production mobile applications.
- [Crash Reporting](https://awesome-repositories.com/f/system-administration-monitoring/crash-reporting.md) — Provides services for capturing, logging, and analyzing application runtime exceptions and failures. ([source](https://firebase.google.com/docs/crashlytics))
- [Stability Trend Analysis](https://awesome-repositories.com/f/system-administration-monitoring/crash-reporting/stability-trend-analysis.md) — Monitors the prevalence and severity of crashes over time with real-time alerting. ([source](https://firebase.google.com/docs/crashlytics))
- [Root Cause Analysis](https://awesome-repositories.com/f/system-administration-monitoring/diagnostic-tools/diagnostics/failure-analysis-tools/crash-reporters/root-cause-analysis.md) — Groups crashes and exceptions into issues based on stack traces to identify primary failure points. ([source](https://firebase.google.com/docs/crashlytics))
- [Metric and Performance Monitors](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors.md) — Automatically tracks key performance indicators like app startup time and screen rendering. ([source](https://firebase.google.com/))
- [Performance Degradation Alerts](https://awesome-repositories.com/f/system-administration-monitoring/alert-thresholds/performance-degradation-alerts.md) — Sends notifications when key performance metrics exceed defined thresholds to signal degradation. ([source](https://firebase.google.com/docs/perf-mon))
- [Application Stability Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/application-stability-monitoring.md) — Displays stability metrics for each test distribution to determine production readiness. ([source](https://firebase.google.com/docs/app-distribution))
- [Release Stability Tracking](https://awesome-repositories.com/f/system-administration-monitoring/application-stability-monitoring/release-stability-tracking.md) — Integrates crash reporting with test distributions to track the stability of pre-release builds. ([source](https://firebase.google.com/docs/app-distribution))
- [Dimension-Based Performance Analysis](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors/dimension-based-performance-analysis.md) — Segments performance metrics by device, OS, and country to identify user experience patterns. ([source](https://firebase.google.com/docs/perf-mon))
- [Request Tracing](https://awesome-repositories.com/f/system-administration-monitoring/request-tracing.md) — Records HTTP response times and payload sizes for every network call made by the application. ([source](https://firebase.google.com/docs/perf-mon))
- [UI Rendering Metrics](https://awesome-repositories.com/f/system-administration-monitoring/ui-rendering-metrics.md) — Automatically records the time it takes for screens to render and display content. ([source](https://firebase.google.com/docs/perf-mon))

### Business & Productivity Software

- [A/B Testing](https://awesome-repositories.com/f/business-productivity-software/a-b-testing.md) — Conducts experiments across user segments using random percentage targeting to validate app improvements. ([source](https://firebase.google.com/docs/remote-config))
- [User Segment Parameterization](https://awesome-repositories.com/f/business-productivity-software/customer-segmentation/user-segment-parameterization.md) — Enables the delivery of customized parameter values to specific user segments based on version, language, or analytics. ([source](https://firebase.google.com/docs/remote-config))
- [Beta Tester Groups](https://awesome-repositories.com/f/business-productivity-software/group-management/beta-tester-groups.md) — Organizes testers into groups and handles onboarding through email invitations for pre-release builds. ([source](https://firebase.google.com/docs/app-distribution))

### Education & Learning Resources

- [Engagement Personalization](https://awesome-repositories.com/f/education-learning-resources/technical-learning-paths/ai-driven-personalization/engagement-personalization.md) — Tailors application parameter values for individual users using machine learning to maximize engagement. ([source](https://firebase.google.com/docs/remote-config))

### User Interface & Experience

- [Authentication UI Components](https://awesome-repositories.com/f/user-interface-experience/authentication-ui-components.md) — Provides pre-built UI components for authentication and data binding to accelerate development. ([source](https://firebase.google.com/docs/ios/learn-more))
- [In-App Notification Frameworks](https://awesome-repositories.com/f/user-interface-experience/in-app-notification-frameworks.md) — Displays targeted alerts and promotional content to users while they are interacting with the app. ([source](https://cdn.jsdelivr.net/gh/firebase/firebase-ios-sdk@main/README.md))
