How to clear Carthage cache?

I use Carthage dependencies manager in my iOS projects and I am wondering what is the best way to clean its cache in case some issues with update occur


Solution 1:

The solution from here helped me, we should call it like:

rm -rf ~/Library/Caches/org.carthage.CarthageKit