Editing Basic Settings for OS X Targets

Definitive Discussion

    Code Signing Guide

Edit basic settings for OS X targets using the Summary pane in the project editor.

The Summary pane contains the basic target settings that you need to inspect and edit when working on a Mac app. You seldom need to edit the target settings in other panes such as Info, Build Settings, and Build Phases.

image: ../Art/mac_summary_pane.pngimage: ../Art/mac_summary_pane.png

To select an icon for your target, Control-click the App Icon image well and choose Select File. You can also drag an icon file directly to the image well.

To add a linked framework or library to your target, click the Add (+) button. For example, to provide your target with access to audio hardware, add the Core Audio framework.

OS X provides access to special resources and capabilities through properties called entitlements. To specify entitlement information in your application, you add an entitlements property-list file containing entitlement definitions (key/value pairs) to your project. When you build your application, Xcode copies the file to the generated application bundle.

When you select the Enable Entitlements checkbox, Xcode creates an entitlements file for you (if one does not exist). You can configure this file by selecting the Enable App Sandboxing checkbox and selecting the entitlements your application needs. For more information, see Code Signing and Application Sandboxing Guide.

Most settings in the Summary pane are also found in one of the other panes. When you edit a setting, Xcode updates the other pane automatically. The following table lists each setting in the Summary pane along with the corresponding target setting and location.

Summary pane setting

Target setting

Pane

Identifier

Bundle identifier

Info

Version

Bundle version

Info

Build

-

-

Deployment Target

OS X deployment target

Build Settings

Main interface

Main nib file base name

Info

App icon

Icon file

Info

Linked frameworks and libraries

Link Binary With Libraries

Build Phases

Entitlements (multiple settings)

-

-