Sponsor

GitHub - firebase/firebase-ios-sdk: Firebase SDK for Apple App Development

0
1

image_proxy.php?url=https%3A%2F%2Fcamo.githubusercontent.com%2Fef53c141589c39cc9080e4c0e3ee4ff5cbae0204c6640f00278415e3d64d1018%2F68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f46697265626173652f66697265626173652d696f732d73646b3f7374796c653d666c6174266c6162656c3d436f636f61506f6473 image_proxy.php?url=https%3A%2F%2Fcamo.githubusercontent.com%2F365dadb4f8b6f93fbbc4780ba6ef8fb15e6cffa813d3dcfeab0dce3249cf39cd%2F68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f46697265626173652f66697265626173652d696f732d73646b3f7374796c653d666c6174266c6162656c3d53776966742532305061636b616765253230496e64657826636f6c6f723d726564 image_proxy.php?url=https%3A%2F%2Fcamo.githubusercontent.com%2F31654f79e3a9ffaeba5fd8c68e638f589b9397ca7ad163b10d43cd5cf8890741%2F68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f46697265626173652f66697265626173652d696f732d73646b3f7374796c653d666c6174
image_proxy.php?url=https%3A%2F%2Fcamo.githubusercontent.com%2Fec59754b8bb976b6b5e953ca4f643babbd8dd762cb88c9f99dcdabed1fd4cd48%2F68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d687474707325334125324625324673776966747061636b616765696e6465782e636f6d2532466170692532467061636b61676573253246666972656261736525324666697265626173652d696f732d73646b253246626164676525334674797065253344706c6174666f726d73 image_proxy.php?url=https%3A%2F%2Fcamo.githubusercontent.com%2F98514ceade813e74ccdc86fa224f405bded59746985e43ff5f9050b8a2394ead%2F68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d687474707325334125324625324673776966747061636b616765696e6465782e636f6d2532466170692532467061636b61676573253246666972656261736525324666697265626173652d696f732d73646b25324662616467652533467479706525334473776966742d76657273696f6e73

Warning

CocoaPods: New versions of the Firebase Apple SDK will no longer be published to CocoaPods after October 2026. Existing CocoaPods versions will remain available and installations will remain functional. See the migration guide for more information.

Tip

Preview Release: Firebase AI Logic's Gemini Foundation Models framework adapter is now available in preview. Get started by visiting the documentation.

Firebase Apple Open Source Development

This repository contains the source code for all Apple platform Firebase libraries except FirebaseAnalytics.

Firebase is an app development platform with libraries, services, and tools to help you build, grow, and monetize your app. Learn more about Firebase at the official Firebase website.

Supported Firebase Products

The following products are open-source and included in this repository:

Note

Firebase Analytics is not open-source, but its pre-compiled binaries are included when installing Firebase via Swift Package Manager or CocoaPods.

Installation

See the subsections below for details about the different installation methods. Where available, it's recommended to install libraries with a Swift suffix to get the best experience when writing your app in Swift.

Swift Package Manager installation

Find instructions for installing using Swift Package Manager in the Firebase get started documentation.

CocoaPods installation

Find instructions for installing with CocoaPods (pod install) in the Firebase installation options documentation.

Note: To accommodate the read-only announcement from CocoaPods, Firebase will stop publishing new versions to CocoaPods in October 2026. Learn more.

Install from GitHub

You can install from GitHub to access the Firebase repo at other branches, tags, or commits.

Background

For instructions and options about overriding pod source locations, see the Podfile Syntax Reference.

Access Firebase source snapshots

All official releases are tagged in this repo and available via CocoaPods. To access a local source snapshot or unreleased branch, use Podfile directives. Here are some example directives which use FirebaseFirestore as the example library.

To access FirebaseFirestore via a branch:

pod 'FirebaseCore', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'main'
pod 'FirebaseFirestore', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'main'

To access FirebaseFirestore via a checked-out version of the firebase-ios-sdk repo:

pod 'FirebaseCore', :path => '/path/to/firebase-ios-sdk'
pod 'FirebaseFirestore', :path => '/path/to/firebase-ios-sdk'

Carthage (iOS only)

Find instructions for the experimental Carthage distribution (iOS only) at Carthage.md within this repo.

Use Firebase from a Framework or a library

Find details about using Firebase from a Framework or a library at firebase_in_libraries.md within this repo.

Building with Firebase on Apple platforms

Firebase provides official beta support for macOS, Catalyst, and tvOS. visionOS and watchOS are community supported. Thanks to community contributions for many of the multi-platform PRs.

At this time, most Firebase products are available across Apple platforms. There are still a few gaps, especially on visionOS and watchOS. For details about the current support matrix, see this chart in the Firebase documentation.

visionOS

Where supported, visionOS works as expected with the exception of Firestore via Swift Package Manager where it is required to use the source distribution.

To enable the Firestore source distribution, quit Xcode and open the desired project from the command line with the FIREBASE_SOURCE_FIRESTORE environment variable: open --env FIREBASE_SOURCE_FIRESTORE /path/to/project.xcodeproj. To go back to using the binary distribution of Firestore, quit Xcode and open Xcode like normal, without the environment variable.

watchOS

Thanks to contributions from the community, many of Firebase SDKs now compile, run unit tests, and work on watchOS. See the Independent Watch App Sample.

Keep in mind that watchOS is not officially supported by Firebase. While we can catch basic unit test issues with GitHub Actions, there may be some changes where the SDK no longer works as expected on watchOS. If you encounter this, please file an issue.

During app setup in the console, you may get to a step that mentions something like "Checking if the app has communicated with our servers". This relies on FirebaseAnalytics and will not work on watchOS. It's safe to ignore the message and continue, the rest of the SDKs will work as expected.

Additional Crashlytics notes for watchOS

Using Crashlytics with watchOS has limited support. Due to watchOS restrictions, mach exceptions and signal crashes are not recorded. (Crashes in SwiftUI are generated as mach exceptions, so will not be recorded).

Combine

Căutare
Categorii
Citeste mai mult
Nulled
অবশেষে চীনে অফিশিয়াল অনুমোদন পেয়ে গেল Apple Intelligence! Baidu AI এবং Alibaba Qwen Model নিয়ে কাঁপাবে iOS, iPadOS, macOS এবং visionOS যা পুরো টেক মার্কেটে আগুন লাগিয়ে দিবে! | Techtunes | টেকটিউনস
অ্যাপল মানুষকে ফিরিয়ে নিচ্ছে হাত ঘড়ির যুগে… অসামান্য প্রাযুক্তিক উৎকর্ষতায়! একটি Apple...
By Nettumi 2026-09-21 05:23:26 0 45
Nulled
WP Media Folder v6.2.4 - WordPress Media Library Plugin
WP Media Folder v6.2.4 – WordPress Media Library Plugin Free Download. From Beginners to...
By Nettumi 2026-09-17 18:04:08 0 32
Tech
নতুন এন্ড্রয়েড ফোন কেনার পর করণীয় - Banglatech24.com
নতুন ফোন কেনা নিঃসন্দেহে সবার জীবনের আনন্দদায়ক একটি মুহুর্ত। নতুন ফোন কেনার পর করণীয় কিছু বিষয়...
By Nettumi 2026-09-25 10:18:48 0 20
Tech
সফল ব্যবসা শুরুর ৭টি গুরুত্বপূর্ণ ধাপ | Techtunes | টেকটিউনস
মহাকাশের ক্ষুদে তারকাদের আবার একটু স্বরণ করে নিই দুঃসাহসী টিনটিন
By Nettumi 2026-09-25 03:46:58 0 22
Nulled
UIU team secures 4th place at SUAS 2026
By Nettumi 2026-09-23 17:28:26 0 45
‎ ‎ ‎
Nettumi https://nettumi.com