|
|
6 anos atrás | |
|---|---|---|
| .. | ||
| FrameworkMaker.xcodeproj | b67a0d329d Move to xcframework bundles (#4737) | 6 anos atrás |
| FrameworkMaker.entitlements | b67a0d329d Move to xcframework bundles (#4737) | 6 anos atrás |
| Info.plist | 286e8f20a7 Introduce Zip File Builder (in Swift) (#2407) | 7 anos atrás |
| README.md | 716b045c7d Zip Carthage refactor (#5080) | 6 anos atrás |
| dummy_Firebase_lib | e3f5dd8265 Add option to generate Carthage build. (#3517) | 6 anos atrás |
This directory contains the full Firebase distribution, packaged as static frameworks that can be integrated into your app.
Each Firebase component requires several frameworks in order to function properly. Each section below lists the frameworks you'll need to include in your project in order to use that Firebase SDK in your application.
To integrate a Firebase SDK with your app:
⌘-1 to open the Project Navigator pane. It will open on
left side of the Xcode window if it wasn't already open.Do not add the Firebase frameworks to the "Embed Frameworks" Xcode build phase. The Firebase frameworks are not embedded dynamic frameworks, but are static frameworks which cannot be embedded into your application's bundle.
Firebase.h header in this directory into your project. This will
allow you to #import "Firebase.h" and start using any Firebase SDK that you
have.module.modulemap into
your project and update your User Header Search Paths to contain the
directory that contains your module map.If you want to add another SDK, repeat the steps above with the frameworks for the new SDK. You only need to add each framework once, so if you've already added a framework for one SDK, you don't need to add it again. Note that some frameworks are required by multiple SDKs, and so appear in multiple folders.
The Firebase frameworks list the system libraries and frameworks they depend on in their modulemaps. If you have disabled the "Link Frameworks Automatically" option in your Xcode project/workspace, you will need to add the system frameworks and libraries listed in each Firebase framework's .framework/Modules/module.modulemap file to your target's or targets' "Link Binary With Libraries" build phase.
"(~> X)" below means that the SDK requires all of the frameworks from X. You should make sure to include all of the frameworks from X when including the SDK.
INTEGRATION
You can get samples for Firebase from https://github.com/firebase/quickstart-ios:
git clone https://github.com/firebase/quickstart-ios
Note that several of the samples depend on SDKs that are not included with this archive; for example, FirebaseUI. For the samples that depend on SDKs not included in this archive, you'll need to use CocoaPods or use the ZipBuilder to create your own custom binary frameworks.
The frameworks in this directory map to these versions of the Firebase SDKs in CocoaPods.
VERSIONS