Firebase Tutorial: Create Firebase App — iOS | Swift

Izaan Saleem
2 min readApr 15, 2022

Before starting this tutorial, I’ll consider you are coming from the scratch and we will learn to create an app on Firebase, configuration and connect your project with firebase. Let’s begin :)

Some important points we will learn in today:

  • Creating firebase app.
  • Add/Configure firebase app in XCode Project.

Create a Firebase app

Add/Create an app on firebase
figure 1.1
figure 1.2

Copy bundle identifier which you will find in XCode, Project > General

figure 1.3

Paste your bundle Identifier in field of Apple Bundle ID

figure 1.4

Download GoogleService-Info.plist file and add this file in your XCode project

figure 1.5

Add/Configure firebase app in XCode Project

Now we need to install Firebase pods in project.

Open Terminal and go to your project directory “cd proejctpath”

  • Run command in terminal “pod init”
  • Find pod file in your project directory and open it
  • Add pod ‘firebase’ podfile
pod 'firebase'

Go to project directory in Terminal and run ‘pod install

Now we’re all set, Open project.xcworkspace and go to AppDelegate.swift and add these lines of code.

figure 2.2

And now click on continue to console

2.3

That’s all we had to do create and initialize firebase in XCode Project.

Follow me and stay connected to learn more about firebase.

Thank You :)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Izaan Saleem
Izaan Saleem

Written by Izaan Saleem

iOS Developer | iOS | Swift | XCode | Storyboard | Firebase | Firestore | Realtime | Database

No responses yet

Write a response