UserGuide

Using a plist

From Xojo Documentation

Apps built for iOS and Mac consist of an “application bundle”. This bundle contains the app itself, resources and other components such as frameworks. It also contains an “Info.plist” file, which is an XML file containing specific settings that tell the OS about your application.

For certain apps, you may need to modify the plist to enable features. To make it easier for you to include your own settings in the application plist file, you can create your own Info.plist file with the specific settings you need and drag it into your project. When your app is built, the settings in your plist file are copied to the application plist file.

Notes

  • Do not add more than one plist file to the project.
  • Any items in your plist file that are duplicates of what is created during the build process are overwritten by the build process.
  • Only top-level keys and their entire value are copied. For example, if a key specifies a dict for a value then the entire dict is copied. Top-level keys are keys that are immediate children of PLIST > DICT in the plist XML structure.
  • The file must have both a plist header and the extension ".plist".