Inspecting Project Attributes

Xcode tracks certain settings at the project-level. These settings include your choice of version control system, the version of Mac OS X to develop for, and the build styles available in the project. You can view and modify project-level settings in the project inspector.

To open the project inspector, you can either:

The project inspector contains the following panes:

Figure 7-1  The project inspector

The General pane of the project inspector, shown here, contains the following information:

  1. The name of the project, set when you first create the project using Xcode’s project templates.

  2. The location of the project folder in the filesystem.

  3. The location at which the build products and intermediate files for the project’s targets are placed. The options under the heading “Place Build Products In” specify the location where Xcode places the products created when building the project’s targets. The options listed under “Place Intermediate Build Files In” specify where files generated in the course of building the product, but not included in the final product, are placed. See Build Locations for more information.

  4. The cross-development options let you choose the minimum version of Mac OS X to build your product for. This lets you target versions of the operating system other than the one you are currently developing on. Use the Cross-Develop Using Target SDK pop-up menu to specify which SDK to use. See Using Cross-Development in Xcode for more information.

  5. The source control management (SCM) system to use with the project. You specify an SCM system at the project level. In the General pane of the inspector, you can turn SCM on and off, as well as choose the particular SCM system to use with the project. See Configuring Repository Access for more information.

  6. The Rebuild Code Sense Index button lets you rebuild the symbolic index that Code Sense, described in Code Sense, uses to provides features such as code completion and symbol definition searches.