CocoPods使用

2016-06-27  本文已影响0人  Bo_tree

新建podfile

cd 工程路径可以拖拽文件直接到终端

pod touchfile

pod install

关闭工程,打开workspace

点击podfile 输入文本

点击终端,pod install

安装podfile:仅安装

Xcode->Product->CocoPods->Create/Edit Podfile->粘贴文本->Product->CocoPods->Install Pods

更新podfile:更新podfile中所有库到最新版本

Xcode->Product->CocoPods->Create/Edit Podfile->粘贴文本->Product->CocoPods->Update Pods

上一篇下一篇

猜你喜欢

热点阅读