failed to install ‘cordova-plugin-facebook4’ Error: pod: Command failed with exit code 31

pod を新しくしないといけないようだ。

brew update
brew upgrade
sudo gem install cocoapods
pod repo update