Skip to content

Instantly share code, notes, and snippets.

@olgusirman
Forked from mbinna/podforceupdate.sh
Created November 15, 2017 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olgusirman/6698d7f930854cd3da72efe539960536 to your computer and use it in GitHub Desktop.
Save olgusirman/6698d7f930854cd3da72efe539960536 to your computer and use it in GitHub Desktop.
Clear CocoaPods cache, re-download and re-install all pods
#!/usr/bin/env bash
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update
@olgusirman
Copy link
Author

rm -rf ~/Library/Caches/CocoaPods; rm -rf Pods; rm -rf ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment