I keep getting a no `Podfile’ found in project directory error even though I have a podfile and a podfile.lock. I’ve run flutter clean, flutter pub get, pod init, flutter build iOS and still get the same error message. I’ve tried deleting the pod file and then running the command sumo gem install cocoapod, pod install, and then flutter build iOS and still keep running into the same errors.
change your working directory to ios with:
and then run whichever pod commands you’d like
Answered By – CJG
Answer Checked By – Senaida (FlutterFixes Volunteer)