How to solve “error running pod install” in flutter on mac?

前端 未结 4 2597
粉色の甜心
粉色の甜心 2021-02-19 15:11

I have an error when I tried to launch my project on my iPhone, the basic Flutter example is working on my iPhone but when I use my project I have this error.

4条回答
  •  轮回少年
    2021-02-19 15:38

    I faced the same issue and none of the above work. Finally I resolved it by:

    1. Check ios/.symlinks/plugins contains extra plugin which you are not using.
    2. Delete podfile.lock in ios folder, if it exists.
    3. Delete podfile from ios folder.
    4. Delete pods folder in ios directory.
    5. Run flutter clean in the terminal.
    6. Run flutter pub get in the terminal.
    7. Run flutter runin the terminal.

提交回复
热议问题