Xcode Clean up Installation: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<source lang="bash"> du -h -d1 ~/Library/Developer/Xcode # 2.3G ~/Library/Developer/Xcode/UserData # 6.2G ~/Library/Developer/Xcode/DerivedData </source> <source lang="bash">...")
 
No edit summary
Line 6: Line 6:


<source lang="bash">
<source lang="bash">
rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist
rm -rf /Library/Preferences/com.apple.dt.Xcode.plist
rm -rf /Library/Preferences/com.apple.dt.Xcode.plist
rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/com.apple.dt.Xcode
rm -rf ~/Library/Caches/com.apple.dt.Xcode
Line 19: Line 19:


==References==
==References==
* [https://stackoverflow.com/questions/31011062 Completely Uninstall Xcode and Clear All Settings]
* [https://apple.stackexchange.com/questions/290310 MacOS Purpose of <code>~/Library/Containers</code>]
* [https://developer.apple.com/forums/thread/112789 Clean up <code>~/Library/Developer/Xcode</code>]
* [https://apple.stackexchange.com/questions/61911 MacOS Clean up User Library Folder]
* [https://apple.stackexchange.com/questions/61911 MacOS Clean up User Library Folder]
* [https://apple.stackexchange.com/questions/290310 MacOS Purpose of <code>~/Library/Containers</code>]
* [https://stackoverflow.com/questions/5714372 Xcode Empty Caches and Clean]
* [https://stackoverflow.com/questions/5714372 Xcode Empty Caches and Clean]
* [https://stackoverflow.com/questions/31011062 Completely Uninstall Xcode and Clear All Settings]
* [https://developer.apple.com/forums/thread/112789 Clean up <code>~/Library/Developer/Xcode</code>]

Revision as of 20:14, 31 August 2020

du -h -d1 ~/Library/Developer/Xcode
# 2.3G	~/Library/Developer/Xcode/UserData
# 6.2G	~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist
rm -rf /Library/Preferences/com.apple.dt.Xcode.plist
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/com.apple.dt.Xcode
rm -rf ~/Library/Application Support/Xcode
rm -rf ~/Library/Developer/Xcode/Archives
rm -rf ~/Library/Developer/Xcode/UserData
rm -rf ~/Library/Developer/CoreSimulator
rm -rf ~/Library/Developer/Xcode
rm -rf /Applications/Xcode.app

References