How to Fix CocoaPods Not Installed or Not in Valid State

preview_player
Показать описание
Warning: CocoaPods is installed but broken. Skipping pod install.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.

CocoaPods not installed or not in valid state.
Error launching application on iPhone 13 Pro Max

sudo gem uninstall cocoapods && sudo gem install cocoapods

Restart IDE if there is still the same error
Рекомендации по теме
Комментарии
Автор

Still doesn't work for me. Please anyone with another more reliable solution for me?

lumennganje
Автор

Many many thanks, i reckon I spent about 6hrs trying to sort this before finding this superb guide.

darrenthemakem
Автор

Does not solve the Problem. In Android Studio I startet the simulator and then I wrote in the Android Studio main folder terminal:
flutter run
. Finally it worked without errors.

Yminus