3/5/2023 0 Comments Mac edit plist![]() To edit the value for a specify key, double-click the value in the Xcode property list editor to select it, then type a new value. Figure 1 Editing the information property list in Xcode The file created by Xcode comes preconfigured with keys that every information property list should have. Figure 1 shows the editor for the information property list file of a new Cocoa app project. To edit the contents of your information property list file, select the ist file in your Xcode project to display the property list editor. At build time, this file is used to generate the ist file that is then included in the resulting bundle. 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. 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. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |