issue with all >1.2 flutter version on mac

146

Find where your project file is stored in finder. Or by typing find ~/ -type f -name "YOUR PROJECT NAME" in terminal. list your files by typing ls and go into the ios file in your flutter project, then type rm Podfile. This should delete the podfile, and once you run the project again, the pods will be installed via flutter

Share:
146
Nitneuq
Author by

Nitneuq

Updated on December 24, 2022

Comments

  • Nitneuq
    Nitneuq over 1 year

    17.5 ( last before 1.2 ) and when I try to upgrade to 1.2 or more I have

    Warning: Podfile is out of date
      This can cause issues if your application depends on plugins that do not support iOS.
      See https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms for details.
      If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/45197 for instructions.
    To regenerate the Podfile, run:
      rm ios/Podfile
    

    I tried rm ios/Podfile

    rm: ios/Podfile: No such file or directory
    

    I follow issue and solution but not working with me ... Or did wrong things

    If someone can help me thank you

    [Edit] : I remove podfil, and It's ok, thank you for help