I am always getting a weird error:-
Use of unresolved identifier 'InstanceID'
I also tried to check by replacing it with FIRInstanceID. but problem error remains the same.
import Firebase
InstanceID.instanceID().deleteID { error in
if error != nil{
completion(ConstantLocalizeString.Something_went_wrong)
}
}
pod installed
Firebase (6.22.0)
FirebaseAnalytics (6.4.1)
FirebaseAuth (6.5.1)
FirebaseAuthInterop (1.1.0)
FirebaseCore (6.6.6)
FirebaseCoreDiagnostics(1.2.3)
FirebaseCoreDiagnosticsInterop (1.2.0)
FirebaseDatabase (6.1.4)
FirebaseInstallations(1.1.1)
GTMSessionFetcher (1.3.1)
Gloss (2.1.1)
GoogleAnalytics (3.17.0)
GoogleAppMeasurement (6.4.1)
GoogleDataTransport (5.1.1)
GoogleDataTransportCCTSupport (2.0.2)
GoogleUtilities(6.5.2)