Giter Club home page Giter Club logo

firebase's Introduction

Firebase-Carthage

Carthage compatible GitHub release

Unofficial Firebase support for Carthage.


Warning

If you are encountering Undefined symbols reffering to Analytics Discrepancies, please look at issue #10. Thanks to @brianlenz.

Usage

The iOS Example file is a sample of using core firebase (analytics).

You need to add GoogleService info plist to your main project. (iOS Example project also needs Googleservice info plist)

Installation

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate Firebase into your Xcode project using Carthage, specify it in your Cartfile:

github "soheilbm/Firebase" 

Run carthage update to build the framework and drag the built Firebase.framework into your Xcode project.

  • Add the -ObjC flag to "Other Linker Settings"
  • Turn on ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES in your build settings.
  • Drag each framework from the directory named after the SDK into the Project Navigator pane. Note that there may be no additional frameworks, in which case this directory will be empty. For instance, if you want the Database SDK, look in the Database folder for the required frameworks. In the dialog box that appears, make sure the target you want this framework to be added to has a checkmark next to it, and that you've selected "Copy items if needed.

"(~> 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.

Analytics

  • FirebaseAnalytics.framework
  • FirebaseCore.framework
  • FirebaseInstanceID.framework
  • GoogleToolboxForMac.framework

AdMob (~> Analytics)

  • GoogleMobileAds.framework

AppIndexing (~> Analytics)

  • FirebaseAppIndexing.framework

Auth (~> Analytics)

  • FirebaseAuth.framework
  • GTMSessionFetcher.framework

Crash (~> Analytics)

  • FirebaseCrash.framework
  • Protobuf.framework

Database (~> Analytics)

  • FirebaseDatabase.framework

DynamicLinks (~> Analytics)

  • FirebaseDynamicLinks.framework

Invites (~> Analytics)

  • FirebaseDynamicLinks.framework
  • FirebaseInvites.framework
  • GTMOAuth2.framework
  • GTMSessionFetcher.framework
  • GoogleAPIClientForREST.framework
  • GoogleSignIn.framework
  • Protobuf.framework

You'll also need to add the resources in the Resources directory into your target's main bundle.

Messaging (~> Analytics)

  • FirebaseMessaging.framework
  • Protobuf.framework

RemoteConfig (~> Analytics)

  • FirebaseRemoteConfig.framework
  • Protobuf.framework

Storage (~> Analytics)

  • FirebaseStorage.framework
  • GTMSessionFetcher.framework

Current Version of Firebase libraries

Carthage Version
Firebase 3.16.0
FirebaseAnalytics 3.8.0
FirebaseAppIndexing 1.2.0
FirebaseAuth 3.1.1
FirebaseCore 3.6.0
FirebaseCrash 1.1.6
FirebaseDatabase 3.1.2
FirebaseDynamicLinks 1.3.5
FirebaseInstanceID 1.0.10
FirebaseInvites 1.2.6
FirebaseMessaging 1.2.3
FirebaseRemoteConfig 1.3.4
FirebaseStorage 1.1.0
GTMOAuth2 1.1.4
GTMSessionFetcher 1.1.9
Google-Mobile-Ads-SDK 7.19.1
GoogleAPIClientForREST 1.2.1
GoogleSignIn 4.0.2
GoogleToolboxForMac 2.1.1
Protobuf 3.2.1

Author

Soheil B.Marvasti

License

I do not own this project.

firebase's People

Contributors

soheilbm avatar ihor-vovk-lohika avatar maguro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.