Home > Mobile >  No `Podfile' found in the project directory in Flutter project
No `Podfile' found in the project directory in Flutter project

Time:09-18

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.

enter code here

CodePudding user response:

change your working directory to ios with:

   cd ios

and then run whichever pod commands you'd like

  • Related