I just pulled from a working version and cannot build my project due to what looks like a cocopods error
What I've Tried
- I followed this tutorial which usually seems to work and it did not work: Could not build Objective-C module 'Firebase'
Quit Xcode.
Delete project's temp files located at ~/Library/Developer/Xcode/DerivedData
Delete ProjectName.xcworkspace
Delete Podfile.lock file and Pods folder
Run pod install.
Open the newly created ProjectName.xcworkspace file and build.
I also udpated jsut the Firebase/Firestore pods with
pod update Firebase/Firestore
cloud_firestore giving errors on IOS Simulator
I also tried manually updating the Firebase pod version with
pod 'Firebase/Core', '~>5.20.2'
Thenpod installThis crashed during pod install.I also just tried
pod updatethis did not resolve anything.I also cleaned by Xcode build folder and rebuild the project after updating the pods and still received the same error.
- (void)useEmulatorWithHost:(NSString *)host port:(NSInteger)port {
[self.auth useEmulatorWithHost:host port:port];
self.emulatorEnabled = YES;
}
Error:
error: no visible @interface for 'FIRAuth' declares the selector 'useEmulatorWithHost:port:'
[self.auth useEmulatorWithHost:host port:port];
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.