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