Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does XCode 'Clean' actually do?

Tags:

xcode

I always choose to 'Clean' my project before archiving it in my XCode projects, but I don't actually know what it does.

I've searched the Internet and can't find the answer either.

If anybody knows could you please post it here?

Thanks everyone

like image 582
Cristian Avatar asked Apr 27 '12 13:04

Cristian


People also ask

What does Xcode clean do?

Clean the build This will get rid of the current build and create a new one next time you run the code. With the project open in code, go to the menu bar, choose Product, and select Clean or: With the project open, press Command + Shift + K.

How do I clear my Xcode app?

To clean out the build folder, and get rid of cache files, do the following: In the Code project, click on the Product menu while holding down the Option (Alt) key and choose Clean build folder, or: Press Command + Shift + Option + K.

How do I rebuild in Xcode?

This can be achieved by going to Product > Clean Build Folder . Or by using the keyboard shortcut Cmd + Shift + K. Xcode will begin to clean your build folder - this might take a couple of minutes. Once it's completed, you can try running and building your project again.


1 Answers

From the Xcode Glossary:

"clean: Removes all the product files, as well as any object files (.o files) or other intermediate files created during the build process."

like image 50
joltguy Avatar answered Oct 02 '22 01:10

joltguy