Created
December 4, 2012 09:43
-
-
Save mbinna/4202236 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 |
What about the specs inside directory ~/.cocoapods/repos/* ?
I ask this because sometimes I get this warning message. Does this count as cache too??
[!] Found multiple specifications for `Analytics (3.0.1)`:
- /Users/arthurbrum/.cocoapods/repos/[company-address-for-pods]/Analytics/3.0.1/Analytics.podspec.json
- /Users/arthurbrum/.cocoapods/repos/trunk/Specs/a/7/6/Analytics/3.0.1/Analytics.podspec.json
Thanks man, clearing cache worked like a charm. 😊
just delete your derived data and it'll fix
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
Is worked for me