Today, in order to write an article that teaches you how to use Cocoapods, I have specifically studied the following how to uninstall Cocoapods,
Because my machine has been installed successfully, so to study how to uninstall, and then in the new installation.
Next I'll teach you how to uninstall Cocoapods
1. Open the terminal, enter the command which pod and then enter and we'll see an address, which is the address where we install the pod.
2. Find the address, then we will delete the input command sudo rm-rf/usr/local/bin/pod the address on the map, and then let you enter the password (password all know, Apple's boot password) (remove pod component)
3. Next we're going to find our cocoapods. Location of the installation package enter the following command: Gem list
(Removing the Cocoapods package from RubyGems, RubyGems (Gems) is a ruby packaging system for Packaging ruby components.) It provides a standard format for distributing Ruby programs and libraries, as well as a tool for managing package installation. To view the local package in gems):
4. See the list above to find the section of the cocoapods that we need to delete:
5. The next step is to see the version number and then delete it and enter the command sudo gem uninstall cocoapods-v 0.39.0 (Note: The following version number corresponds to the version number in the list above) if the deletion succeeds:
6. Next delete the next package, enter the command: sudo gem uninstall cocoapods-core-v 0.39.0 (Note: This package also has, note the version of good correspondence), if the deletion succeeds:
7. Next check to see if Cocoapods is removed: Enter the following command: Pod search afnetworking or pod then:
prove the deletion succeeds;
Summary: The use of cocoapods is not as difficult as we think, mainly on the terminal operation to be familiar with. OK, unload the cocoapods and start installing it ....
How to uninstall Cocoapods (turn from a grain of sand before Buddha)