删除或卸载之前添加的库:cocoapods [英] Remove or uninstall library previously added : cocoapods
本文介绍了删除或卸载之前添加的库:cocoapods的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我通过 cocoapods 添加了一个外部框架到我的 iOS 应用程序中.如何从项目中删除该库?
I added an external framework via cocoapods into my iOS application. How can i remove that library from the project?
推荐答案
The unwanted side effects of simple folder delete or installing over existing installation have been removed by a script written by Kyle Fuller - deintegrate and here is the proper workflow:
安装干净:
Install clean:
sudo gem install cocoapods-clean
在项目文件夹中运行 deintegrate:
Run deintegrate in the folder of the project:
pod deintegrate
Clean(此工具不再可用):
pod clean
修改您的 podfile(删除包含您不想再使用的 pod 的行)并运行:
Modify your podfile (delete the lines with the pods you don't want to use anymore) and run:
pod install
完成.
这篇关于删除或卸载之前添加的库:cocoapods的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文