title: How can I display the application version revision in my application's settings bundle?
body: <p>I would like to include the application version and internal revision, something like 1.0.1 (r1243), in my application's settings bundle.</p>
  
  <p>The Root.plist file contains a fragment like this...</p>
  
  <pre><code>     &lt;dict&gt;
          &lt;key&gt;Type&lt;/key&gt;
          &lt;string&gt;PSTitleValueSpecifier&lt;/string&gt;
          &lt;key&gt;Title&lt;/key&gt;
          &lt;string&gt;Version&lt;/string&gt;
          &lt;key&gt;Key&lt;/key&gt;
          &lt;string&gt;version_preference&lt;/string&gt;
          &lt;key&gt;DefaultValue&lt;/key&gt;
          &lt;string&gt;VersionValue&lt;/string&gt;
          &lt;key&gt;Values&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;VersionValue&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;Titles&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;VersionValue&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  </code></pre>
  
  <p>and I would like to replace the "VersionValue" string at build time.</p>
  
  <p>I have a script that can extract the version number from my repository, what I need is a way to process (pre-process) the Root.plist file, at build time,  and replace the revision number without affecting the source file.</p>