Information Property List Files
An information property list file is a structured text file that contains essential configuration information for a bundled executable. The file itself is typically encoded using the Unicode UTF-8 encoding and the contents are structured using XML. The root XML node is a dictionary, whose contents are a set of keys and values describing different aspects of the bundle. The system uses these keys and values to obtain information about your application and how it is configured. As a result, all bundled executables (plug-ins, frameworks, and applications) are expected to have an information property list file.
By convention, the name of an information property list file is Info.plist
. This name of this file is case sensitive and must have an initial capital letter I
. In iPhone applications, this file resides in the top-level of the bundle directory. In macOS bundles, this file resides in the bundle’s Contents
directory. Xcode typically creates this file for you automatically when you create a project of an appropriate type.
The contents of a typical Info.plist
file convey the following information to the system:
The user-visible name to display for the bundle
A unique identifier string (typically in the form
com.yourcompany.appname
) that can be used to locate the bundle at runtimeThe type of the bundle (application, framework, plug-in)
Version information
Information about how to launch the bundle or load its contents into memory
The preferred execution environment for the bundle
Information about the bundle’s supported document types (if any)
For iPhone applications, information about how the application presents content initially
For information about how to create information property lists, along with keys and values that you can include in them, see Information Property List Key Reference.
Copyright © 2003, 2009 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2009-10-19