Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the EmbeddedAppDeltas folder in Xcode and can I delete it safely?

Tags:

xcode

xcode7

On my computer there's a folder of nearly 1GB in size at the following path: /private/var/folders/ph/q7jl9fz115g104hfgpsw5k6w0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas

It remains there no matter whether I delete build folders or not. It appears to have every version of my app that I've ever archived in there. What's the purpose of that directory? I'd like to delete it as it's taking up over 900 MB, but I don't know what it's for, and googling did not help. Evidently they have it so well hidden that few people have noticed it before.

like image 311
CommaToast Avatar asked Jun 21 '16 21:06

CommaToast


People also ask

Can I delete Xcode user data?

As it is user data, no big issue if you delete it completely but it's safer to use 'Reset Content and Settings' option from the menu to delete all of your app data in a Simulator.

Can I delete library developer Mac?

To answer my own question YES its completely safe to delete ~/Library/Developer folder if you plan to completely remove your existing Xcode and install a new version.


2 Answers

These apparently are temporary files associated with Xcode, but they don't seem to get cleaned up via a reboot. I followed the advice in this OSX Daily article and was able to clean up the folder by simply booting into safe mode. Just hold down shift while your computer is booting. Be prepared for it to take a few minutes. The folder was completely removed after safe booting.

like image 103
Ben Flynn Avatar answered Nov 04 '22 04:11

Ben Flynn


Just rm -rf it? That's how I removed mine.

like image 38
netdigger Avatar answered Nov 04 '22 04:11

netdigger