This short guide will go over the few extra steps needed to get your Xcode project up and running with Firebase. This guide follows on from a previous post that demonstrates how to install the Firebase libraries with CocoaPods.
You need to create a new Firebase account, the free plan aka ‘Spark’ is more than enough to get you up and running.
When you login you’ll be presented with an empty Firebase console, click “Create New Project”
Generally each of your apps will be associated with a different Firebase project. It makes sense to name them appropriately, but this doesn’t matter too much (it can also be changed at a later date).
The next part is important. You need to enter the bundle ID for the app your Firebase project is going to be linked to. You can find this by going to the ‘General’ tab in your app settings.
The next screen will present you with a link to download a ‘GoogleService-Info.plist’ file. Download this and drag it into your project navigator to add it to your project.
The rest of these steps discuss how to install the Firebase libraries using Cocoapods, a guide on how to do that can be found here.
That’s it, you should now have project ready to start using Firebase.