In the project created by the older version of Xcode, the profile name is called "Info.plist"
Other plist files in the project cannot have the word "Info", or they will be mistaken for the "info.plist" that is very important in the legend. Similarly, if you are new to a project, want to see its configuration information, you can find the project name-info plist file, the project also has a infoplist.strings file, and Info.plist file localization related
Open Info.plist file such as:
We can see that this is a dictionary, the dictionary is stored in a lot of health value pairs. We can add the configuration of some items here. Here are some of the more important attributes we often use:
Common Properties (the red part is the key you see when you open it with a text editor)
Localiztion native Development Region (cfbundledevelopmentregion)-Localization related
Bundle Display Name (cfbundledisplayname)-a program that displays the names after installation, is limited to 10-12 characters, and if exceeded, the abbreviated name is displayed. The default display is the project name, if you change this value, there are two points to note:
1. Uninstall the apps you've deployed before
2. Clear Xcode's cache and deploy from new
Otherwise, the app's name modification will not succeed.
Icon file (cfbundleiconfile)-app icons name, typically icon.png
Bundle version (cfbundleversion)-The version number of the application, which needs to be increased each time a new version is posted to the App Store
Main Storyboard file base name (nsmainstoryboardfile)-The primary storyboard filename, the project configuration can be modified in the main The Inerface property can also set the primary storyboard file, and the information in the modified Info.plist file is automatically modified.
Bundle identifier (cfbundleidentifier)-The unique identity of the project, deployed to the real machine, which is a unique identifier that distinguishes it from other apps , and if the identity is the same, Post-deployment apps will overwrite apps that were previously deployed.
In fact, the plist file is essentially a special XML file.
IOS Info.plist