Created
September 19, 2017 13:15
-
-
Save SBejga/be30ce5e302045d840e88918172f46fd to your computer and use it in GitHub Desktop.
remove cocoapods from mac machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# credits: https://superuser.com/questions/686317/how-to-fully-uninstall-the-cocoapods-from-the-mac-machine | |
# remove gems | |
for i in $( gem list --local --no-version | grep cocoapods ); | |
do | |
gem uninstall $i; | |
done | |
# Additionally delete ~/.cocoapods to remove the cache of podspecs. | |
rm -rf ~/.cocoapods/ | |
echo "removed all gems and cache of cocoapods" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment