Xcode Clean up Installation: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
m (Protected "Xcode Clean up Installation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 20:19, 31 August 2020

du -sh ~/Library/Developer/Xcode
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