https://www.jianshu.com/p/411003ac28e4
注意:
当工程中有gemfile时,cocoapods的版本即--version,会被gemfile中的代码优先影响,不会使用全局的cocoapods