1.安装(国内因为有墙要换源,具体百度)
sudo gem install cocoapodsrake's executable "rake" conflicts with /usr/bin/rakeOverwrite the executable? [yN]pod setup
2.使用
cd ~/Path/To/Folder/Containing/ShowTrackerpod initopen -a Xcode Podfileplatform :ios, "7.0"pod 'AFNetworking', '2.2.1'
3.常见问题
P:Updating local specs repositoriesA:pod install被墙了,使用pod install --verbose --no-repo-update