1.sudo gem install cocoapods2.pod setup --verbose3.cd+空格+工程文件路径4.pod init5.open -a Xcode Podfile6.添加依赖库7.pod install