IPhone development: info. plist (5)

Source: Internet
Author: User

Application Package keywords
--------------------------------------------------------------------------------

The purpose of application packaging is to package an application into a self-contained entity and hide its content from users. However, users often want to operate certain files of the application. For example, a user may want to add or delete a plug-in, localized resources, and so on. Developers can specify projects that can be maintained by users in the Info. plist file. The Finder will display these items in the bundle information panel and allow users to browse, delete, or add them.

 

CFBundleInstallerInfo
The root keyword of the application packaging information is CFBundleInstallerInfo. The keyword defines a dictionary that contains the keywords listed in the table A-7. The "required" column lists the features that you must support.

Table A-7 application packaging keywords

Whether the keyword type must abstract APInstallerURLStringYes a URL path pointing to the file you want to install. APFilesArrayYes is a set of dictionaries that describe the files or directories that can be installed.
 

APInstallerURL
The APInstallerURL keyword specifies a path to the file you want to install. You must describe this path in the format of file: // localhost/path. All installed files must be in this folder.

 

APFiles
The APFiles keyword specifies a dictionary that describes the files you want to install. Each dictionary entry can contain descriptions of a file or directory. You can include the APFiles keyword in itself to specify files in the directory. The table A-8 lists information that is used to specify a single file or directory.

Table A-8 APFiles dictionary keywords

Keyword type description APFileDescriptionKeyString is used to display a brief description in the Information Window of the Finder. If the value of APDisplayedAsContainerString is "Yes", the project is displayed as a directory icon in the information panel; otherwise, the project is displayed as a document icon. APFileDestinationPathString indicates the relative path of the component to be installed. The name of the APFileNameString file or directory. APFileSourcePathString points to the path of the component in the application package, which is relative to the path of APInstallerURL. APInstallActionString: "Copy" or "Open"

 

 

From cloud huaikong-abel

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.