Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall PhoneGap from my project and machine

Tags:

xcode

ios

cordova

I need to uninstall the PhoneGap library completely from my system and from Xcode. Please help me to do this.

like image 736
Kelly Avatar asked Feb 24 '12 08:02

Kelly


3 Answers

if you've installed PhoneGap via npm, you can easily uninstall it via:

sudo npm uninstall -g phonegap

like image 163
Mobiletainment Avatar answered Nov 16 '22 11:11

Mobiletainment


To uninstall:

  1. Remove the PHONEGAPLIB value in Xcode Preferences -> Source Trees

  2. Delete the ~/Documents/PhoneGapLib folder

  3. Delete the ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/PhoneGap folder

  4. 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

  5. Delete the /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework folder

  6. Delete the ~/Library/Frameworks/PhoneGap.framework symlink

like image 37
Sree Avatar answered Nov 16 '22 10:11

Sree


I used the official uninstall script:

https://svn.apache.org/repos/asf/incubator/callback/phonegap-iphone/trunk/Uninstall%20PhoneGap.applescript

like image 24
Matt Sephton Avatar answered Nov 16 '22 12:11

Matt Sephton