cocoapods使用

使用cocoapods

终端中,cd到项目总目录

建立Podfile(配置文件)pod init

搜索三方库的版本与使用格式: pod search

进入到podfile文件中: vim podfile

编辑:键盘输入 i,进入编辑模式

退出:然后按Esc,并且输入“ :”号进入vim命令模式,然后在冒号后边输入wq

更新:pod install


iOS cocoapods 导入库不提示解决方法

选择target - BuildSettings - search Paths 下的User Header Search Paths 添加一个 $(PODS_ROOT)  选择recursive

你可能感兴趣的:(cocoapods使用)