Skip to content
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

Feature request: cleaning Carthage cache #3

Open
igorkulman opened this issue May 14, 2019 · 5 comments
Open

Feature request: cleaning Carthage cache #3

igorkulman opened this issue May 14, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@igorkulman
Copy link

Located in ~/Library/Caches/org.carthage.CarthageKit

@vashpan
Copy link
Owner

vashpan commented Sep 29, 2019

It's quite a nice idea, although it will require another folder access acquisition. I'll think about asking for the entire ~/Library folder, which then will make this trivial. Although I'm hesitant to ask about too much access from people, despite DevCleaner is open source, it could bring some security questions.

@carsten-wenderdel
Copy link

I'd also like to see that feature. I wouldn't mind another security question.

@vashpan
Copy link
Owner

vashpan commented Sep 17, 2020

I'm still considering it, but as I said last year - I hesitate to ask users for even wider access to their files. In theory, access to entire ~/Library folder is giving potential access to almost entire user privacy. Of course DevCleaner is not doing anything wrong, but I always wanted it to be as safe as possible, for developers to trust it. It's a must.

I don't use Carthage so I'm not really aware about what numbers do we speak here 🤔 Is there no other way to clean its cache than to delete this folder manually?

@carsten-wenderdel
Copy link

In my case (only one project for not that many dependencies) that folder has 27 GB after 11 months of usage. When I look at DerivedData in there, it's one folder per Xcode version (6 in my case). In each of those folders there are between one and three folders per Swift version. And Rx alone takes about 860 MB per Swift version per Xcode version, about 8 GB total.

In case of deinstalled Xcode versions that data is not used anymore and I don't see any other way than to delete it manually - I'm not the greatest Carthage expert however.

@vashpan vashpan added the enhancement New feature or request label Sep 20, 2020
@vashpan
Copy link
Owner

vashpan commented Sep 20, 2020

Thanks for more details. It seems that indeed Carthage doesn't have such option itself. I'll keep this issue as an option for the future enhancement.

In overall: it's sad that more and more apps/software are not releasing their cache, which is a very bad practice. Not only Xcode, but many more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants