waylybaye / waylybaye/XcodeCleaner-SwiftUI

Feature SwiftPM cache cleanup

Open
#15 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

First of all, thanks for Cleaner for Xcode! It’s a great tool and has become really useful for us at our software company here in Switzerland. It saves us quite a bit of time when Xcode decides to misbehave. 😄

One small addition that would make it even more useful for us: a button/option to also clear the SwiftPM caches, basically equivalent to:

rm -rf ~/Library/Caches/org.swift.swiftpm
rm -rf ~/Library/org.swift.swiftpm

We occasionally run into build/package issues where clearing Derived Data isn't enough, but removing these caches solves the problem.
Would be a very nice addition and make Cleaner for Xcode cover even more of those annoying "Xcode just won't build anymore" situations. Thanks for the great tool!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing cache-cleaning actions and their SwiftUI entry point to see how cleanup options are represented. Add the SwiftPM cache cleanup option for ~/Library/Caches/org.swift.swiftpm and ~/Library/org.swift.swiftpm, then verify that selecting it removes both locations without affecting the existing cleanup actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
desktop, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.