Plist
Last updated
Last updated
The plist file is also called the property list and is used by operating systems (e.g. iOS) and users. The information is stored in a key-value format similar to a dictionary.
A plist file can contain different types of values like strings, arrays, dictionaries, booleans, dates, data, and numbers, such as integers. Most of these types correspond to native Swift types, such as Array and Bool. You can also store nested arrays and dictionaries, i.e. adding an array inside another array, etc., to create more complex data structures.
Plist (Property List) is a flexible and convenient format for storing application configuration data. We can call it as the manifest for an iOS application. It’s a property list file from Apple. It decides what icon to use for a bundle, what document types an app can support, and many other behaviours that have an impact outside the bundle itself. These files may contain sensitive data like Gmaps API key, etc.
The info.plist file contains critical information about your local preferences. It is used to store the configuration of a mobile app. We can store settings information in a plist file.
This file is automatically created when you create a new application. The information saved in this file is used by the App Store and by the operating system to determine the app’s capabilities and to locate key resources. It is required to include this file and it must be named Info.plist otherwise the compiler won't run the application.
Une application peut stocker localement de la donnée sensible dans des fichiers plist. Ces fichiers on peut le retrouver dans le chemin suivant : /var/mobile/Container/Data/Application/nom_app/Documents. A l'aide de l'outils objection on va récupérer ce fichier et l'afficher.