Creating an Xcode* Project

The following topic applies to Xcode*.

To create a new Xcode* project:

  1. Launch the Xcode* application.

  2. Select File > New > Project...

    The Choose a template for your new project window opens.



  3. In the left pane, select OS X > Application.

  4. Select a template, for example, Command Line Tool , and click Next.

  5. Name your project, for example, Hello World , enter a string for Company Identifier, and select a type.

    Uncheck Use Automatic Reference Counting.

    Click Next.

  6. Specify a directory for your project, and optionally select Create local git repository for this project to place your project under version control.

  7. Click Create.

Xcode* creates the named project directory, with an .xcodeproj extension. Your new project directory contains a main.cpp source file, as well as other project files.

Each Xcode* project has its own Project Editor window that displays project source files, targets, and executables.

For more complete information about compiler optimizations, see our Optimization Notice.