1.安装
sudo gem install cocoapods
pod setup
2.配置文件
进入创建的工程创建 Podfile
touch Podfile
3.安装
pod install
http://www.devtang.com/blog/2014/05/25/use-cocoapod-to-manage-ios-lib-dependency/
http://blog.csdn.net/ysy441088327/article/details/8611731
http://www.360doc.com/content/14/0309/10/11029609_358970353.shtml