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