Skip to content

Instantly share code, notes, and snippets.

@mbinna
Created December 4, 2012 09:43
Show Gist options
  • Save mbinna/4202236 to your computer and use it in GitHub Desktop.
Save mbinna/4202236 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
@mwaqarshahid
Copy link

Thanks man, clearing cache worked like a charm. 😊

@aleena-adnan1
Copy link

just delete your derived data and it'll fix

@NdegwaJulius
Copy link

I faced the same problem recently but this works for me : https://stackoverflow.com/a/19131855/9322353

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