vashpan / xcode-dev-cleaner

If you want to reclaim tens of gigabytes of your storage used for various Xcode caches - this tool is for you!
GNU General Public License v3.0
1.23k stars 58 forks source link

Not working with Xcode 16 #49

Closed catach closed 1 month ago

catach commented 2 months ago
Screenshot 2024-09-18 at 2 34 05 PM

It couldn't find the older sims

vashpan commented 1 month ago

This is about old simulator logs - newer Xcodes doesn't support it, I might change the name as it indeed might be confusing 🤔

catach commented 1 month ago

Hey @vashpan I was asking about the "Device Support" checkbox. I'm running Xocde 16 with iOS 18 and iOS 17.5 sims, but DevCleaner can't find the 17.5. That used to work in the past. I tested your new version 2.7.0 and it still can't find the older sims... Maybe I'm missing something, though. Thanks for your work on this :)

vashpan commented 1 month ago

Device support section is about symbols that Xcode download from devices you connect into it - those are not simulators nor their runtimes.

From DevCleaner help:

In order to debug iOS/tvOS/iPadOS/watchOS/macOS devices, Xcode first needs to download debug symbols appropriate to version of OS that we currently use on a device. You may noticed that when connecting a new or updated device when having Xcode opened.

Those symbols are needed for each of your device and for each of *OS version, after a new update, even a minor one, Xcode needs a new set of symbols. Unfortunately, old symbols are not removed and each of them take 2-5GB of disk space. As you can imagine, they can start to sum up pretty quickly, usually there's 10s of smaller updates in less than a year for each OS.

DevCleaner helps cleaning those symbols, selecting older ones by default, keeping only those most recent ones. Of course final decision is yours.