Carthage: Cleanup command

Created on 6 Nov 2015  路  11Comments  路  Source: Carthage/Carthage

Thanks for all the hard work on this project :smile:.

I searched but couldn't find a feature request for this yet :eyeglasses:

With the addition of generating bcsymbolmap files, I've seen an influx of things in my Carthage build folders. Before the introduction of the bcsymbolmap files, it was easy to go in there myself and delete the files. That is no longer the case with symbol maps using a UUID unless you remove the entire Carthage folder and run carthage bootstrap

I suggest an additional command be added to cleanup files for when a user wants to remove the files from their Carthage build/checkout folders that targets the .framework, .bcsymbolmap, and .dSYM artifacts.

enhancement

Most helpful comment

I would also need this feature for cleanup bcsymbolmap files because we keep them in git, so someone who downloads the project don't need to use carthage for the project to run. A cleanup command will be very handy

All 11 comments

I totally agree! Since the addition of the bcsymbolmap files the folder looks like a mess... The Carthage/Build folder is on my .gitignore but I still like to have things clean in the repo.

The deletion of unneeded files should be automated...

screen shot 2016-04-14 at 10 09 53

Maybe Carthage should delete old .bcsymbolmaps when building?

@mdiep This would be perfect 馃憤馃徎
If you use carthage build without the specification of a project, all .bcsymbolmaps should be deleted, but if you use e.g. carthage build Alamofire it should just delete the corresponding .bcsymbolmap

I would also need this feature for cleanup bcsymbolmap files because we keep them in git, so someone who downloads the project don't need to use carthage for the project to run. A cleanup command will be very handy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

There is a ongoing PR #2333.

Is this still being worked on?

not find out command carthage cleanup, it had been merged ?

It has been merged, but carthage cleanup doesn't work as of 0.34.0.

@ravitripathi me too. When??

@yourshinsuke no clue. It seems like the feature was never exposed. Weird. We ended up commit those bsymbolmaps too along with the framework files after updating.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

faustperic picture faustperic  路  3Comments

itinance picture itinance  路  3Comments

3lvis picture 3lvis  路  3Comments

abbeyjackson picture abbeyjackson  路  3Comments

josercc picture josercc  路  3Comments