App/iOS

[ iOS ] CocoaPods 버전 충돌 시 재설치

거북 2021. 11. 9. 15:42

에러메세지

Warning: CocoaPods minimum required version 1.9.0 or greater not installed. Skipping pod install.
  CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
  Without CocoaPods, plugins will not work on iOS or macOS.
  For more info, see https://flutter.dev/platform-plugins
To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

 

설치

sudo gem uninstall cocoapods && sudo gem install cocoapods

 

링크

https://stackoverflow.com/questions/62593939/cocoapods-not-installed-or-not-in-valid-state

 

CocoaPods not installed or not in valid state

Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have CocoaPods installed but it is not working. Thi...

stackoverflow.com