pod install
やpod setup
をしようとしたところ以下のようなエラーが発生!
$ pod setup
Setting up CocoaPods master repo
Already up-to-date.
[!] There was an error reading '...CocoaPods-version.yml'.
Please consult http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/ for more information.
エラーメッセージのURLに書いてある解決方法はうまくいかず。。。
すこし調べてみるとpsych
というのがいけないらしい。
$ gem list
...
psych (2.0.17, 2.0.8)
...
アンインストール。
$ gem uninstall psych
Successfully uninstalled psych-2.0.17
ちなみに2.0.8
のほうはデフォルトで入っているものらしく消せなかった。
$ gem uninstall psych -v 2.0.8
ERROR: While executing gem ... (Gem::InstallError)
gem "psych" cannot be uninstalled because it is a default gem
ということで以下の状態でpod install
やpod setup
が成功するようになりました!
$ gem list
...
psych (2.0.8)
...