1、sudo gem install -n /usr/local/bin cocoapods
2、pod update repo
3、Podfile 追加 target
target 'MyAPP' do
pod 'AFNetworking'
pod 'pop'
pod 'ZXingObjC'
pod 'Charts'
pod 'MBProgressHUD'
pod 'Masonry'
pod 'Reachability'
pod 'SSKeychain'
pod 'CocoaAsyncSocket'
pod 'MJRefresh'
end
网友评论