Add Firebase to your C++ project

Power up your C++ games with our Firebase C++ SDKs which provide a C++ interface on top of Firebase SDKs.

Access Firebase entirely from your C++ code, without having to write any platform-native code. The Firebase SDK also translates many language-specific idioms used by Firebase into an interface more familiar to C++ developers.

Find out more information about powering up your games with Firebase at our Firebase games page.

Already added Firebase to your C++ project? Make sure that you're using the latest version of the Firebase C++ SDK.


Prerequisites

  • Install the following:

    • Xcode 16.2 or later
    • CocoaPods 1.12.0 or later
  • Make sure that your project targets the following platform versions or later:

    • iOS 15
    • tvOS 15
  • Set up a physical device or use the simulator to run your app.

    For Cloud Messaging on Apple platforms, here are the prerequisites:

    • Set up a physical Apple device.
    • Obtain an Apple Push Notification Authentication Key for your Apple Developer account.
    • Enable Push Notifications in Xcode under App > Capabilities.