Functions of clean and clean build folder in xcode 4.5

Source: Internet
Author: User

Note: The conclusions in this article are incomplete and only applicable to xcode 4.5 (the version is not clear ).


Clean command

There is a clean command under the xcode menu "product. If you press the Alt key at the same time on the Windows platform, the clean command will change to the clean build folder. What are the functions of the two commands and what are the differences between them?


First, the function of clean is basically to clear the intermediate files, target files, and executable files during the compilation process, so that the project goes back to the pre-compilation. However, by analyzing a lot of articles on the network and testing in xcode 4.5, we can know that the system does not automatically clean every time you run the project, so the resource files will not be automatically updated. As a result, there is a quote like

Http://blog.sina.com.cn/s/blog_5383588c0101kidp.html( "this file is always not found when a new resource file is added "). This phenomenon seems to be one of the mistakes that xcode beginners may make easily (or a bug in xcode ).




Reference resources:

  1. Http://zhidao.baidu.com/link? Url = Response

  2. Http://www.cocoachina.com/bbs/simple? T168320.html

  3. Http://blog.sina.com.cn/s/blog_5383588c0101kidp.html

  4. Http://segmentfault.com/q/1010000000209590

  5. Http://stackoverflow.com/questions/8087065/xcode-4-clean-vs-clean-build-folder%3C/p%3E


This article from the "Qingfeng" blog, please be sure to keep this source http://zhuxianzhong.blog.51cto.com/157061/1570733

Functions of clean and clean build folder in xcode 4.5

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.