Ios App Version Info Plist
Hi there i ve tried to package my app with the latest xcode 4 5 version 19 sep 2012 ios 6 sdk flash builder 4 6 flex sdk 4 6 with air 3 5 beta overlay.
Ios app version info plist. For iphone and ipod touch the usable area of your icon is actually much smaller. The validator also throws an error proving that one of the strings must match the version of the app created on itunes connect. For example ios app bundles store the file in the bundle s root directory whereas macos app bundles place the info plist file in the contents directory.
This name of this file is case sensitive and must have an initial capital letter i. Every app and plug in uses an info plist file to store configuration data in a place where the system can easily access it. This might not exist for some reason so we re going to make a static variable that returns an optional string in case there was a problem reading it.
Macos and ios use info plist files to determine what icon to display for a bundle what document types an app supports and many other behaviors that have an impact outside the bundle itself. Fortunately we can write a small extension to uiapplication that reads the info plist file and returns a version number automatically. 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. To access an information property list you use an instance of the bundle class which represents a bundle on disk. By convention the name of an information property list file is info plist.
I was trying to figure out a way to see if all the users have upgraded their app. And unzip the ipa file and i found the following automated settings on the info plist file was wrong. In ios the cfbundletypeiconfiles key contains an array of strings with the names of the image files to use for the document icon.
I made the app to get the current version number and send it to the server. The value for key cfbundleshortversionstring 1 0 in the info plist file must contain a higher version than that of the previously uploaded version 1 134. Here is how you can get the current version number of the app.