1、终端定位到项目根目录
2、执行 pod init 命令,他会在根目录下生成一个Podfile文件
3、使用 vim Podfile 打开文件
4、添加: pod 'SWRevealViewController' 到文件中,保存退出
5、执行: pod install 命令
6、执行: open xhgh.xcworkspace
1、终端定位到项目根目录
2、执行 pod init 命令,他会在根目录下生成一个Podfile文件
3、使用 vim Podfile 打开文件
4、添加: pod 'SWRevealViewController' 到文件中,保存退出
5、执行: pod install 命令
6、执行: open xhgh.xcworkspace