Creating an XCode Project - Basic Steps
- Open the XCode IDE
- Under the "File" menu select "New" and then "Project"
- In the "choose a template window" select "Command Line Tool"
(this should be the default) and click on "Next"
- Name your Project with a reasonable mnemonic and click on
"Next"
- The next step saves your project so navigate to the Desktop
and click on "Create"
- Each C++ project is given a default dummy main.cpp. Typically
you can begin with this file and copy/paste over its contents.
You may delete the file with a right click. You may add
additional files by dragging them into the Source folder of the
Project. If you add files by dragging be sure to select the
option "Copy files if needed". This ensures that added files are
copied into the project folder and are not simply aliases
(pointers) to files somewhere on disk. You may also add files
using the "add files to project name" under the File menu.