How to export all project codes into a file

I have a project in obj-C and I want to save the whole project code into a file. I have followed the following: Open your project in Xcode. Select your project in the Project navigator, and then select the target you want to export. Click on the "File" menu in Xcode, and then click on "Export".

However, export is greyed out. Please help.

Replies

What instructions are you following? It doesn’t sound correct, at least for the current version of Xcode. That File → Export command seems to be basically like Save As for the single file currently visible in the editor.

If you want a single file archive (like zip or tar) of all the directories and files in your project, then you would do that outside Xcode using a suitable utility.