1.安装(国内由于有墙要换源,具体百度)ios
sudo gem install cocoapods rake's executable "rake" conflicts with /usr/bin/rake Overwrite the executable? [yN] pod setup
2.使用code
cd ~/Path/To/Folder/Containing/ShowTracker pod init open -a Xcode Podfile platform :ios, "7.0" pod 'AFNetworking', '2.2.1'
3.常见问题orm
P:Updating local specs repositories A:pod install被墙了,使用pod install --verbose --no-repo-update