I was facing the same problem as you, and I could run the app after updating the Cocoapods to version 1.16.2. To do that, run the command below in your terminal.
sudo gem install cocoapods