CacheDelete is a subsystem within macOS that cleans up disk space in response to high-level demand for that space. It’s the back end to the very-rarely-used
CSDiskSpaceStartRecoveryAPI. CacheDelete has a plug-in mechanism whereby various system components can plug in to recover disk space associated with that component. It looks like Xcode ships with an app extension that implements such a plug-in:
$ find /Applications/Xcode.app -name IDECacheDeleteAppExtension.appex /Applications/Xcode.app/Contents/PlugIns/IDECacheDeleteAppExtension.appex
CSDiskSpaceStartRecoveryis public API, this plug-in mechanism is not.
I don’t know why this plug-in would be burning through CPU but the general strategy for things like this is:
Please post your bug number here, just for the record.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"