エラー内容
いつものようにターミナルで「podinit」を実行したところ、RuntimeError – [Xcodeproj] Unknown object versionというエラーが発生
解決方法
xcodeprojというものをインストールすればいいらしいので以下のコマンドを実行してみました。
command
gem install xcodeproj
しかしまたもエラー発生、、、
FilePermissionErrorだと、、、
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
色々調べた結果、sudoを頭につけたら無事うまくいきました!!
command
sudo gem install xcodeproj