sudo gem install cocoapods
gem sources - -remove https://rubygems.org/
gem sources -a https://ruby.taobao.org/
gem sources -l
sudo gem install cocoapods
cd 文件名全路径
vim Podfile
platform :ios, '7.0'
pod “第三方库头文件”
pod install
pod install --verbose --no-repo-update
以后在工程中还是得引入头文件 以前用”” 现在用<>
用后缀名为xcworksapce 打开