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

--

--

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