try this:
anyway the base idea is uninstalling cocoapods, installing the latest version of ruby, gem, etc for example: