An error occurred while processing the post-install hook of the Podfile.

执行Pod install 报错:

An error occurred while processing the post-install hook of the Podfile.

undefined method `project’ for #Pod::Installer:0x007fe9332feee0

解决方案:

打开Podfile,把里面的 project 改为 pods_project