본문 바로가기

Languages/Dart & Flutter

오류) Error running pod install 해결

해결 방법

1. cd ios

2. pod update

3. flutter run

 

stack overflow

In Flutter project, I Also faced with this issue. Fixed by updating flutter and cocoa pods to the latest version.

Solution:-

  • flutter clean
  • rm -Rf ios/Pods
  • rm -Rf ios/.symlinks
  • rm -Rf ios/Flutter/Flutter.framework
  • rm -Rf ios/Flutter/Flutter.podspec
  • flutter pub get
  • cd ios
  • pod install
  • arch -x86_64 pod install (On an M1 mac use => arch -x86_64 pod install)
  • cd ..
  • flutter build ios
  • flutter run

 

https://stackoverflow.com/questions/54135078/how-to-solve-error-running-pod-install-in-flutter-on-mac

 

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

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.

stackoverflow.com