My Xcode build was taking so long to run after I tried using firebase. I found a solution that required me to add this to my podfile
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '6.26.0'
and then delete the podfile.lock to finally run pod install. But the pod install is bringing this error since
[!] No `Podfile' found in the project directory.
I have tried installing cocoa pods again but still the pod install command did not work nether the pod init one
What can I do to solve this
CodePudding user response:
First, you must navigate to the ios
directory
cd ios
Then run any command related to the iOS build, in your case try
flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
pod deintegrate
pod install