Today, let's talk about cocoapods removal steps!
1. Remove pod component , open terminal to execute which pod
And then output the path, mine is/usr/local/bin/pod.
2. Remove the Cocoapods component and Continue with the sudo rm-rf path (warm tip: When entering the password, there is no digit display, do not think not input)
3. Remove the Cocoapods package from the RubyGems
What is Q:rubygems? A:rubygems (abbreviated as 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. view Local Packages in GemsEnter the Gem list on the terminal and then print all the packages under the Gem and see the version number of our current cocoapods (0.38.2) 4. Remove package execution commands sudo gem uninstall cocoapods-v version number After executing the command, the bottom print successfully uninstalled cocoapods-0.38.2 has been successfully uninstalled! You can enter the Gem list under viewNote: If there is an error: To see if the version number is wrong, there should be no space where there are spaces, or print the Gem list to see if they did not find the corresponding thing ah?
[CocoaPods] How to uninstall CocoaPods