Error in pod 'Firebase/Firestore

Hello Chris,
I am trying to learn your tutorial :- https://www.youtube.com/watch?v=1HN7usMROt8&t=2276s
I have got xcode 12 and at the time of installing pods i am having error with pod ‘Firebase/Firestore’
Like you did at 1:01:00 hours.

Kindly let me know how to fix this issue to so that i may move forward in your tutorial.

Thanks

Hi Nakul,

If my memory serves me correctly, when I followed the tutorial I encountered a few issues with Firebase too.

My Podfile pod selections looks like this:

  # Pods for CustomLoginDemo
	pod 'Firebase/Analytics'
	pod 'Firebase/Auth'
	pod 'Firebase/Core'
	pod 'Firebase/Firestore'
	pod 'FirebaseFirestoreSwift'

In the signUpViewController the import statements are as follows:

import UIKit
import FirebaseAuth
import Firebase

Hope that helps.

By the way, after you have done the pod instal you need to open the project via the ProjectName.xcworkspace rather than ProjectName.xcodeproj.

Thanks Chris,

With this i have also import FirebaseFirestore in the SignUpViewController.swift file and after that it started working.

Thanks a lot for your help