我的電腦是從15年開始使用的,到現(xiàn)在已經(jīng)3年多的時間了饵骨,每次想下載東西,都得刪東西茫打,很尷尬居触。
偶然間看到可以清除Xcode空間,于是我解放了104G的空間包吝。我看到了蘋果說可以安全刪除饼煞,簡直就是高興的不得了。
本來只剩余10個G可用空間诗越,刪除掉iOS DeviceSupport
文件下的東西,(我的iOS DeviceSupport
下從6
開始到11.3
了息堂,多的不得了)并且清除垃圾桶
嚷狞。瞬間可用空間到了117G。
親測刪除之后不會影響你Xcode運行和真機運行哦荣堰。
iOS Dev Nugget 162 Reclaim Disk Space from Xcode Usage
Solid state drives are an awesome performance booster. But unfortunately, they are more expensive and
naturally come in smaller capacities than hard disk drives. Check these directories Xcode uses and see if you
can delete some stuff:
~/Library/Developer/Xcode/DerivedData/ - It's totally safe to delete directories here. Especially for projects
that you no longer need. When you rebuild your project, they will be created for you.
~/Library/Developer/Xcode/iOS DeviceSupport/ - a folder for each combination of iOS (physical) device
you have plugged in and the iOS version you were running on it. If you have been doing iOS developer for a
while, you will have accrued quite a number of these folders that you can remove. They will be re-generated for
you when you plug in a device if you accidentally delete a more recent folder.
You can easily reclaim a couple of gigs to tens of gigs of space by cleaning up these 2 directories.
首先第一步
第二走
第三步
第四步
第五步刪除
DerivedData
文件夾里面的東西(不是刪除DerivedData
床未,是點擊進去刪除里面的文件夾)第六步刪除
iOS DeviceSupport
里面的東西(不是刪除iOS DeviceSupport
,是點擊進去刪除里面的文件夾)第七步
清倒你的廢紙簍振坚,大功告成薇搁。
2019年01月09日12:59:08添加
刪除這個文件夾下不用的東西,也可以釋放很多空間
瞬間能量慢慢渡八】醒螅回復元氣传货。