Issue with Firebase authentication tutorial

I am having an issue with the line

let homeViewController = storyboard?.instantiateViewController(identifier: Constants.Storyboard.homeViewController) as ? HomeViewController

I says the error message “Use of unresolved identifier ‘Constants’”

I am pretty sure I followed it all step by step so I’m a a lost.

What’s your constants file look like?

import Foundation

struct Constants {

struct Storyboard {
    static let homeViewController = "HomeVC"


Double check what is your storyboard’s identifier

It should be HomeVC