Editing Basic Settings for iOS Targets

Edit basic settings for iOS 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 an iOS application. You seldom need to edit the target settings in other panes such as Info, Build Settings, and Build Phases.

image: ../Art/ios_summary_pane.pngimage: ../Art/ios_summary_pane.png

To configure your iOS app to run on both iPhone and iPad, choose Universal from the Devices pop-up menu. To select an icon for your app, Control-click one of the App Icons image wells and choose Select File. To select a launch image, Control-click one of the Launch Images image wells and choose Select File from the shortcut menu. You can also drag and drop to add images to the image wells. For example, you can shoot your launch image in the Organizer and drag the image directly to the summary pane.

iOS 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) and adds a Keychain Access Groups key-value pair. You can edit this file, adding additional key-value pairs to specify the entitlement definitions you need. For more information, see iOS Development 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

-

-

Devices

Targeted device family

Build Settings

Deployment Target

iOS deployment target

Build Settings

Main Interface

Main nib file base name

Info

Supported Device Orientations

Supported interface orientations

Info

App Icons

Icon files

Info

Launch Images

Launch Image

Info

Enable Entitlements

-

-

Entitlements File

Code Signing Entitlements

Build Settings

Keychain Access Groups

-

-