![]() And also thanks to Russ Bishop for telling Olivier about this. (Thanks to Olivier Halligon for telling me about this feature. Of course, if you need space now you'll still need to go in and manually delete Device Support files that you no longer need but this feature should certainly put a cap on the number of old Device Support files that are kept around. I think it's really cool that Xcode and macOS can now actively help you reclaim disk space by removing unused Device Support files. The system has full control over when exactly this cleanup takes place and the exact cleanup times are dependent on variables like system activity, available disk space, whether you're connected to power and more. This means that macOS can automatically clean up old Device Support files after they haven't been used for 180 days. Any Device Support files that haven't been used for 180 days or more are automatically made elligible for deletion by the system. Pretty good, right? Xcode 12 automatically helps cleaning up Device Support filesĪ very cool feature of Xcode 12 is that Xcode will track the device / iOS version combinations that you use and update the mtime for each item in the Device Support directory accordingly. So that's 15Gb of space after about 8 months of use. When I ran these commands on a machine that got a clean install when macOS Catalina came out I was able to free up 15Gb of disk space. Clean up unavailable simulators using by typing xcrun simctl delete unavailable in your Terminal.Do the same with open ~/Library/Developer/Xcode/watchOS\ DeviceSupport. ![]()
0 Comments
Leave a Reply. |