Swift Productions
Published in

Swift Productions

How to add Firebase to a SwiftUI Project with SPM

Short tutorial on how to integrate the Firebase SDK with the new SwiftUI lifecycle using Swift Package Manager

SwiftUI with Xcode and Firebase logo
Firebase + SwiftUI + Xcode and SPM

Create a new project

Go to Xcode > Create a new project > SwiftUI interface & lifecycle > Name it PMStart




Introducing Swift Productions: weekly articles and tutorials to learn how to build an App using Swift, SwiftUI & Firebase.

Recommended from Medium

Identity in SwiftUI

SwiftUI | Easy To-Do List With Firebase

The SwiftUI and Firebase logo with an iPhone showing a list

Connecting to Agora with Tokens — Using Swift

How to get Real-Time Analytics in your Unity Mobile Game with ByteBrew

Networking in SwiftUI with Async/Await

header image with title async/await

iOS Simulator? or Android Emulator? or Both?

UIView Corner Radius & Shadow

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sullivan De Carli

Sullivan De Carli

Consultant in iOS Dev at Deloitte. I write about Design & App development. Let’s have a chat at hello@sullivandecarli.com

More from Medium

DatePicker in SwiftUI

How to Add an Emoji Search Bar With SwiftUI

SwiftUI | AsyncImage With Loader

iPhone displaying images with the SwiftUI logo

SwiftUI Tutorial: Searchable