Last active
February 5, 2022 14:04
-
-
Save sukov/c61477bde87c7b676734f6cfa19f504f to your computer and use it in GitHub Desktop.
Clear CocoaPods cache, re-download and re-install all pods
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
#!/usr/bin/env bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update | |
# In case a corrupt repo compromises `pod repo update` command | |
rm -rf ~/.cocoapods/repos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment