-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI for removing carthage cache? #443
Comments
This sort of suggestion has come up before—most recently in #427 (although the intent there is slightly different). I guess my initial reaction is: if the Carthage cache has to be cleaned, that probably is a Carthage bug, and we should fix that rather than offer a hacky workaround that we expect users to try. Do you have examples of where purging the cache helped? |
Yeah, theses are the 2 most recent and well-documented: |
Sorry about the delay, and thanks for the examples! I'd still like to avoid a |
Actually, I think I just found a valid reason for being able to manually clean the carthage cache: cached binaries and different Swift versions. I'm playing around in Xcode 9 Beta, and thus using the new
Thoughts? Also - I just noticed this was closed on May 14th 2015. Whoops. Sorry J. |
The linked issue was closed due to inactivity. See the 15👍🏻 on above comment. This is a big pain point. |
0.24 and 0.25 have considerably improved on this front. If you have encountered any circumstance that doesn't feel right, perhaps consider filing a separate issue with the details? |
Can confirm this is still a big pain point. I am going to have to add some handling to nuke the carthage cache before each build. from my perspective, a |
FWIW I've had an issue where carthage update/bootstrap wasn't changing to a new remote (changed the user for a github source to point to my own fork), and the only solution was to manually clear the cache. (running 0.26.2) Took a while to figure out why it wasn't working because deleting the Carthage checkouts in my project folder wasn't cutting it. |
On my mac this Cache derived data folder grew to circa 30 GB. It would be good if there was a supported way to reclaim some of that space back. |
I've run into a few bugs (and I've had a few bugs reported on my projects) that were resolved by deleting the carthage cache (
rm -rf ~/Library/Caches/org.carthage.CarthageKit
) and running a freshcarthage update
.I think it would be convenient to have a CLI for this, perhaps
carthage clean
, that would be responsible for clearing the cache, cleaning up any artifacts and rebuilding frameworks.Thoughts?
The text was updated successfully, but these errors were encountered: