search

Home  >  Q&A  >  body text

objective-c - Xcode工程中clean的具体作用是什么?

每个xcode工程,product里面都有一个clean按钮,点击之后就会clean工程,这个clean的作用是什么?

大家讲道理大家讲道理2768 days ago649

reply all(2)I'll reply

  • PHP中文网

    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.

    reply
    0
  • 大家讲道理

    大家讲道理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.

    reply
    0
  • Cancelreply