How to uninstall Cocoapods (turn from a grain of sand before Buddha)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.