Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. To update the CocoaPods specs, run: pod repo update

Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. To update the CocoaPods specs, run: pod repo update

With flutter, when "flutter build ios". Bug when pod outdate and not installed.

If using sudo gem install pod, have error.

I suggest use brew for install or update pod. Because version osx, version Mac intel or Mac chip M, pod will version different.

Fix:

brew install cocoapods

(install brew first, with osx, brew very important. Like yarn :v )

0
Subscribe to my newsletter

Read articles from Vietnam Outsourcing directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Vietnam Outsourcing
Vietnam Outsourcing