How can I delete derived data in Xcode 8?

前端 未结 16 1015
醉梦人生
醉梦人生 2020-11-22 01:19

The projects page seems to be disappeared from Xcode 8. I used this page for deleting the derived data.

Any idea how can I delete derived data from within Xcode 8?

16条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 01:49

    Manual removal of derived data

    If you want to remove derived data manually just run:

    rm -rf ~/Library/Developer/Xcode/DerivedData

    If you want to free up more disk space there's a few other directories you might want to clear out as well though.

    Automatic removal of Xcode generated files

    I have created a Bash script for removing all kinds of files generated by Xcode. Removing DerivedData content can be done by running:

    ./xcode-clean.sh -d
    

    More info at https://github.com/niklasberglund/xcode-clean.sh

提交回复
热议问题