cd 文件路径//获取文件所有权
vi Podfile//打开文件夹
//打开文件夹以后
i进入插入界面
输入
platform:ios,’7.0’
pod ’SDKWebImage’,’~>3.7’
pod ‘MJRefresh’
//微信
pod ‘libWeChatSDK’, ‘~> 1.5’
//腾讯
pod ‘TencentOpenApiSDK’, ‘~> 2.9.0’
//微博
pod “WeiboSDK”
Esc退出插入界面
:wq回去之前界面
pod install//导入
//
platform :ios, ‘7.0’
pod “AFNetworking”, “~> 2.5”
pod ‘SDWebImage’
pod ‘MJRefresh’
pod ‘FMDB’
pod “WeiboSDK”, :git => “https://github.com/sinaweibosdk/weibo_ios_sdk.git”
pod ‘FXBlurView’,’~>1.6.3’
pod ‘libWeChatSDK’, ‘~> 1.5’
pod ‘TencentOpenApiSDK’, ‘~> 2.9.0’