Skip to content

Instantly share code, notes, and snippets.

@emanuel-braz
Last active June 28, 2022 19:12
Show Gist options
  • Save emanuel-braz/6cdf52a7526366b62d8d0f2e9649b0b9 to your computer and use it in GitHub Desktop.
Save emanuel-braz/6cdf52a7526366b62d8d0f2e9649b0b9 to your computer and use it in GitHub Desktop.
flutter pod clean install - cocoapod

Erro "CocoaPods not installed or not in valid state"

  • Feche o VSCode e o simulador iOS
  • Rode o script "pod_clean.sh" na raiz do projeto
  • Abra o VSCode e o simulador iOS
  • Rode o projeto
sudo gem uninstall cocoapods \
&& sudo gem install cocoapods \
&& rm pubspec.lock \
&& flutter clean \
&& flutter pub cache repair \
&& flutter pub get \
&& cd ios \
&& rm podfile.lock \
&& pod deintegrate \
&& pod repo update \
&& pod install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment