Recall & Review
beginner
What is the first step to add Firebase to an iOS app?
Create a Firebase project in the Firebase Console and register your iOS app with its bundle identifier.
Click to reveal answer
beginner
Which file must be downloaded from Firebase Console and added to your Xcode project?
The GoogleService-Info.plist file contains your Firebase app configuration and must be added to your Xcode project root.
Click to reveal answer
beginner
How do you initialize Firebase in your iOS app code?
Import FirebaseCore in AppDelegate.swift and call FirebaseApp.configure() inside application(_:didFinishLaunchingWithOptions:).Click to reveal answer
intermediate
Why do you need to use CocoaPods or Swift Package Manager when setting up Firebase?
They manage Firebase SDK dependencies and make it easy to add Firebase libraries to your Xcode project.
Click to reveal answer
beginner
What is the purpose of the bundle identifier in Firebase setup for iOS?
It uniquely identifies your app and links it to the Firebase project so Firebase services work correctly.
Click to reveal answer
What file must you add to your Xcode project to configure Firebase?
✗ Incorrect
The GoogleService-Info.plist file contains your Firebase configuration and must be added to your project.
Where do you call FirebaseApp.configure() in an iOS app?
✗ Incorrect
FirebaseApp.configure() is called in AppDelegate.swift inside application(_:didFinishLaunchingWithOptions:) to initialize Firebase.
Which tool can you use to add Firebase SDKs to your iOS project?
✗ Incorrect
CocoaPods is a dependency manager used to add Firebase SDKs to iOS projects.
What does the bundle identifier do in Firebase setup?
✗ Incorrect
The bundle identifier uniquely identifies your app to Firebase services.
After adding GoogleService-Info.plist, what is the next step?
✗ Incorrect
You must initialize Firebase in your app code by calling FirebaseApp.configure().
Explain the steps to set up Firebase in a new iOS app from scratch.
Think about what you do first in Firebase Console and then in Xcode.
You got /6 concepts.
Why is it important to add the GoogleService-Info.plist file to your Xcode project?
Consider what connects your app to Firebase behind the scenes.
You got /4 concepts.