mispaster.blogg.se

What is a plist file in osx
What is a plist file in osx











Each new bundle-based project that you create in Xcode comes with a file named ist, where is the name of the project. The simplest way to create an information property list file is to let Xcode create it for you.

what is a plist file in osx

Case mismatches could prevent you from finding your resources at runtime.Ĭreating and Editing an Information Property List File The NSBundle class and Core Foundation bundle functions consider case when searching for resources inside a bundle directory. Important: In the sections that follow, pay attention to the capitalization of files and directories that reside inside a bundle. Xcode typically creates this file for you automatically when you create a project of an appropriate type. In macOS bundles, this file resides in the bundle’s Contents directory. In iOS apps, this file resides in the top-level of the bundle directory. This name of this file is case sensitive and must have an initial capital letter I. As a result, all bundled executables (plug-ins, frameworks, and apps) are expected to have an information property list file.īy convention, the name of an information property list file is ist. The system uses these keys and values to obtain information about your app and how it is configured. The root XML node is a dictionary, whose contents are a set of keys and values describing different aspects of the bundle.

what is a plist file in osx

The file itself is typically encoded using the Unicode UTF-8 encoding and the contents are structured using XML. Next Previous About Information Property List FilesĪn information property list file is a structured text file that contains essential configuration information for a bundled executable.













What is a plist file in osx