写这一个主要是为了自己比较方便进行记录,感觉网络上其他的一些有时候比较繁琐,但是我在实践中感觉没有那么麻烦, 简单的来说就是以下几步,不BB,上图
在终端中进行代码,在桌面上新建demo

第一步 : cd + 文件拖入名

第二步: 进行搭建podfile文件
pod + init (注意空格),终端输入后,发现Test0007里面多出来一个文件Podfile

第三步: 如果想要搜索你想要的第三方,可以进行: pod + search + 第三方名字(不用全称)
第四步: 点开Podfile,右击使用xcode打开

第五步:添加第三方 pod + '第三方名称'
第六步: 更新cocoapods.在终端中输入 : pod + update

OK了!!!
网友评论