Creating an XCode Project - Basic Steps

  1. Open the XCode IDE
  2. Under the "File" menu select "New" and then "Project"
  3. In the "choose a template window" select "Command Line Tool" (this should be the default) and click on "Next"
  4. Name your Project with a reasonable mnemonic and click on "Next"
  5. The next step saves your project so navigate to the Desktop and click on "Create"
  6. 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.