MacOS Xcode CoreSimulator folder very big. Is it ok to delete content?

后端 未结 4 968
無奈伤痛
無奈伤痛 2021-01-29 17:26

My ~/Library/Developer/CoreSimulator/Devices folder is 26 Gb in size.

Is it safe to just delete all the content? Will those files be automatica

4条回答
  •  孤独总比滥情好
    2021-01-29 17:29

    for Xcode 8:

    What I do is run sudo du -khd 1 in the Terminal to see my file system's storage amounts for each folder in simple text, then drill up/down into where the huge GB are hiding using the cd command.

    Ultimately you'll find the Users//Library/Developer/CoreSimulator/Devices folder where you can have little concern about deleting all those "devices" using iOS versions you no longer need. It's also safe to just delete them all, but keep in mind you'll lose data that's written to the device like sqlite files you may want to use as a backup version.

    I once saved over 50GB doing this since I did so much testing on older iOS versions.

提交回复
热议问题