每个xcode工程,product里面都有一个clean按钮,点击之后就会clean工程,这个clean的作用是什么?
PHP中文网2017-04-21 11:19:21
Simply put, clean is to delete all files produced by the build process. Specifically, .o files, configuration files, link libraries, resources copied to product, etc.
大家讲道理2017-04-21 11:19:21
Same answer as gaosboy. Referring to the common Makefiles under Linux, the function of Clean is basically to clear the intermediate files, target files and executable files during the compilation process, so that the project can return to before it was compiled.
This Clean setting should also be visible (or modified?) in the Xcode project. I guess it is similar to the way Makefile is written.