How To Use Firebase (Swift, Xcode) – Ep 1 – Integrate Firebase SDK

How To Use Firebase with Swift and Xcode
Lesson 1
In this lesson, we sign up for a FIrebase account and integrate the Firebase SDK into our Xcode project via Cocoapods

Note: There’s one thing we forgot to do in this lesson. When editing the Podfile, at the top, uncomment the platform and use_frameworks line so that it looks like this:

# Uncomment this line to define a global platform for your project
platform :ios, ‘8.0’
# Uncomment this line if you’re using Swift

In this series, I’ll show you guys how to leverage Firebase in your Xcode projects and apps to save data and retrieve data through the Firebase API.

Firebase is a backend as a service that gives your app database abilities without having to manage your own. The free tier is very generous and sufficient for most apps.

Related links:

Firebase QuickStart


For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!


CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Xcode and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (






21 responses to “How To Use Firebase (Swift, Xcode) – Ep 1 – Integrate Firebase SDK”

  1. Clovis Taku Avatar

    like all your videos, please keep releasing new content lol i don't get bored watching your videos

  2. Terrance Collins Avatar

    So do these videos replace all of the Parse videos?

  3. lassu01 Avatar

    Where are the balance of these tutorials? I can only find the first two.

  4. Ka To Yip Avatar

    Hi Chris, please do more Firebase Tutorial, they are simply the best on Youtube!
    Could you explain in the next one how to populate custom UITableView cells, or to talk about building social apps using Firebase (e.g. searching other users, adding friends etc)
    Thank you so much!

  5. Liam Donaghy Avatar

    I get this too, following the tutorial exactly:

    ld: framework not found Firebase
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  6. mohammed alkhunaizi Avatar

    we are waiting for the next tutorial << quickly 🙂

  7. Mit S. Avatar

    Hello Chris, I keep getting error when I type in "pod install" : * [!] Oh no, an error occurred.

    Search for existing GitHub issues similar to yours:

    If none exists, create a ticket, with the template displayed above, on:

    Be sure to first read the contributing guide for details on how to properly submit a ticket:

    Don't forget to anonymize any private data!

    [!] CocoaPods was not able to update the `master` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update –verbose` *

    It will great if you please help me out. Thank you! – Mit

  8. Andrew Harris Avatar

    yo, great tutorial, but When opening the xcworkspace i have 27 error, do you know whats going on? thanks

  9. Chris Nijland Avatar

    can not wait for the simple chat-App that you did in parse.or is the code almost the same in Firebase?Thanks for your great tutorials

  10. Christophe Braud Avatar

    Good tutorial 🙂
    Do you know if we can install Firebase with Carthage?

  11. Nelson Earle Avatar

    What do I do??

    ld: library not found for -lFirebase
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  12. Rachel Sterneck Avatar

    This is awesome, thanks a lot! Can you please do more tutorials with building social media apps with Firebase and Swift?

  13. Daniel Avatar

    Finally! 😀 Sign up & log in page next lesson please. Thank you!

  14. SSMWeightlifting Avatar

    what do think is the best option?
    or Deploy Parse server

  15. Jared Davidson Avatar

    Was literally just searching for this topic when this video popped up. Thanks! 😀

  16. MrPaulPhan Avatar

    Cant wait for this full series

  17. George Avatar

    Wait for this so long!!!!!!!

  18. Александр Должиков Avatar

    Hi. I watch your videos on YouTube. "How To Make a YouTube Video App"
    Tell me please. How can i get more than 50 videos? In the playlist 350 video, but application start only max 50.

  19. freshapplenews Avatar

    hey Chris good to see you back with new series , chris any cloudkit tutorials coming from you ? i want to learn cloudkit please let me know some books or websites . Thank you.

  20. Lasse Vad Avatar

    I literally love your videos Chris, keep up the good work!

Leave a Reply

Your email address will not be published. Required fields are marked *