Contents

Information Property List

A resource containing key-value pairs that identify and configure a bundle.

Mentioned in

Discussion

Bundles, which represent executables of different kinds, contain an information property list file. This collection of key-value pairs specifies how the system interprets the associated bundle. Some key-value pairs characterize the bundle itself, and others configure the app, framework, or other entity that the bundle represents. Some keys are required, and others are specific to particular features of the executable.

The information property list file always has the name Info.plist. The file name is case-sensitive and must begin with a capital letter I. Its location within the bundle depends on both the bundle type and the platform. For example, iOS app bundles store the file in the bundle’s root directory, whereas macOS app bundles place the Info.plist file in the Contents directory.

You typically rely on Xcode to create the information property list file for your apps and other executable targets, as described in Managing your app’s information property list values. When you let Xcode prepare your bundle’s information property list, you don’t need to edit the file directly. For information on manually editing property list files, see Editing property list files.

To access values in an information property list programmatically, you use an instance of the Bundle class, which represents a bundle on disk. You can get the value for a few common keys by accessing properties of the bundle instance. For example, the bundleIdentifier property contains the value associated with the CFBundleIdentifier key. You can obtain the value for an arbitrary key using the object(forInfoDictionaryKey:) method.

Topics

Essentials

Core settings

Services

AVFoundation

Vision

Dictionaries

Type Aliases

See Also

Property Lists