ios 如何从我的项目和机器中卸载 PhoneGap
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9427696/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to uninstall PhoneGap from my project and machine
提问by Kelly
I need to uninstall the PhoneGap library completely from my system and from Xcode. Please help me to do this.
我需要从我的系统和 Xcode 中完全卸载 PhoneGap 库。请帮我做这件事。
回答by Mobiletainment
if you've installed PhoneGap via npm
, you can easily uninstall it via:
如果您通过 安装了 PhoneGap npm
,则可以通过以下方式轻松卸载它:
sudo npm uninstall -g phonegap
须藤 npm 卸载 -g phonegap
回答by Sree
To uninstall:
卸载:
Remove the PHONEGAPLIB value in Xcode Preferences -> Source Trees
Delete the ~/Documents/PhoneGapLib folder
Delete the ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/PhoneGap folder
Delete the "~/Library/Application Support/Developer/Shared/Xcode/Templates/Project Templates/Application/PhoneGap-based Application.xctemplate" or the "~/Library/Developer/Xcode/Templates/Project\ Templates/Application/PhoneGap-based\ Application.xctemplate" folder
Delete the /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework folder
Delete the ~/Library/Frameworks/PhoneGap.framework symlink
删除 Xcode Preferences -> Source Trees 中的 PHONEGAPLIB 值
删除 ~/Documents/PhoneGapLib 文件夹
删除 ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/PhoneGap 文件夹
删除“~/Library/Application Support/Developer/Shared/Xcode/Templates/Project Templates/Application/PhoneGap-based Application.xctemplate”或“~/Library/Developer/Xcode/Templates/Project\ Templates/Application/PhoneGap -based\Application.xctemplate”文件夹
删除 /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework 文件夹
删除 ~/Library/Frameworks/PhoneGap.framework 符号链接