Tuesday, January 26, 2010

How to Add Version Number into Settings

When you make regular beta releases, it's extremely useful to include application version number somewhere. Otherwise it's difficult to find out which version user was using and whether the reported defect still exists or not.

One way is to use version control revision number as part of application version number. Here's some tips how to automatically get the build revision number into Settings.

What your Settings.bundle/Root.plist might contain:


StringsTable
Root
PreferenceSpecifiers

...several clipped away...


Type
PSTitleValueSpecifier
Title
Version
Key
version_string
DefaultValue
1.0




No comments:

Post a Comment