📜 ⬆️ ⬇️

Remove trash from Xcode

image

On the macbook, the place is running out, and there is an urgent need to nail down. Do not understand where it went? Common situation?

Perhaps for someone it will be news that there is a bunch of garbage left over after development in XCode, which can be nailed safely. Let's talk about this ...

1. DeviceSupport


The DeviceSupport folder is the fattest. Each project generates a lot of data there that is needed to decrypt crash logs (does symbolicate crash logs translate into Russian?). You can nail all projects or only old ones.

At once I will make a reservation - I develop on Unity, each assembly of the project happens in the new XCode-project, therefore there is a lot of garbage. I will also say that for the Unity project this data is not particularly needed, there are other methods of tracking crashes, for developing on XCode, they are probably necessary. Think before you delete something, and only then delete.
')
Delete here:
~ / Library / Developer / Xcode / DerivedData

2. Archives


Everything that you upload to the AppStore is first archived, and added up to the Archives daddy. Look at the contents of this folder, perhaps there are ancient and no longer relevant versions that it makes no sense to store, or that were rejected and never even published. They can be removed.

Delete here:
~ / Library / Developer / Xcode / Archives

3. iOS Device Support


Data from devices that you have ever connected to a computer are stored in this folder. The iOS version number as the folder name, after updating the iOS version, a new folder is created. As can be seen from the initial screen, I have versions from the 5th stored there, although Apple hasn’t supported them for a long time, and they can be safely removed (until the 8th, Unity 2018 won't even give them a build).

Delete here:
~ / Library / Developer / Xcode / iOS DeviceSupport

There are folders on trivia, such as logs, but there is very little space available.
If there are comments or additions - write in the comments.

Source: https://habr.com/ru/post/358444/


All Articles