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
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.
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.
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.
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."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With