Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

⚡ Precompiled Firestore iOS SDKs extracted from the Firebase iOS SDK repository release downloads for faster build times.

License

NotificationsYou must be signed in to change notification settings

invertase/firestore-ios-sdk-frameworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Precompiled Firestore iOS SDKxcframework files extracted from the Firebase iOS SDK repository release downloads, tagged by Firebase iOS SDK version and presented as a consumablepodspec.

Why

Currently the Firestore iOS SDK depends on some 500k lines of mostly C++, which when compiling as part of your Xcode build takes a long time - even more so in CI environments.

Related Issues

Before & After

Before and after timing below, timed when running Xcode build (with cache fully cleared) in a project with Firestore.

Mac mini (2018) 6 cores:

Before:~ 240sAfter:~  45s

GitHub Action CI 2 cores:

Before:~ 551sAfter:~ 174s

Usage

Integrating is as simple as adding 1 line to your main target in your projectsPodfile. Any dependencies in your project that already consume the Firebase iOS SDK from pods will then automatically source Firestore from these precompiled binaries rather than from source.

  • For Flutter & React Native this file is usually located atios/Podfile
  • For Flutter the target is usually calledRunner and can be added inside thetarget 'Runner' do block in your podfile.
  • For React Native this would be inside the target that has all your localReact-* pods included.
pod'FirebaseFirestore',:git=>'https://github.com/invertase/firestore-ios-sdk-frameworks.git',:tag=>'10.19.0'

⚠️ Note: where the tag says10.19.0 this should be changed to the pod version ofFirebase/Firestore that you or your dependencies are using - in the formatX.X.X, for FlutterFire the version that is being used can be seenhere, for React Native Firebasehere. If no version is specified on your currentFirebase/Firestore pod then you can omit, :tag => '10.19.0' from the line above and use the latest version on master/main.

The first time youpod install a specific version, CocoaPods will remotely retrieve this git repository at the specified tag and cache it locally for use as a source for theFirebaseFirestore pod.

⚠️ Note: if you were previously caching iOS builds on CI you may now find that when using precompiled binaries that caching is no longer required and it may actually slow down your build times by several minutes.

Supported Firebase iOS SDK versions

The below are the currently supported Firebase iOS SDK versions of this repository, this list is updated automatically.

⚠️ Note: if you are looking for a new version that is not listed in the supported versions list, examine the upstream release notes for firebase-ios-sdk carefully. This can happen if the firebase-ios-sdk team issues an interim release to solve some urgent problem, but do not run their full release process. If that happens, don't worry - just wait for the next supported version before moving forward, or temporarily de-integrate this pre-compiled framework if you must use the interim version. 6.31.1 is an example of this, with more detailshere for why it might happen.

...andmore.

License


Built and maintained byInvertase.

About

⚡ Precompiled Firestore iOS SDKs extracted from the Firebase iOS SDK repository release downloads for faster build times.

Resources

License

Stars

Watchers

Forks

Contributors12

Languages


[8]ページ先頭

©2009-2025 Movatter.jp