title: Providing custom variables for Info.plist
body: <p>In Xcode, you can edit an app's Info.plist, and you will see a number of variables that are inserted into the plist dynamically.</p>
  <p>In the following screenshot you can see for example:</p>
  <ul>
  <li>EXECUTABLE_NAME</li>
  <li>PRODUCT_BUNDLE_IDENTIFIER</li>
  <li>PRODUCT_NAME</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/c8UFY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c8UFY.png" alt="enter image description here" /></a></p>
  <h3>My question: how do you create your own variable for inclusion in the plist?</h3>
  <p>I would like to add the Build Date to the plist, dynamically generated every time Xcode creates a new build. However I cannot see where to set up the variable for dynamic inclusion as per the system-provided examples above.</p>
  <p>I've tried <code>export BUILD_DATE=$(date +'%Y-%m-%d')</code> in a build phase but putting <code>$(BUILD_DATE)</code> as a plist value just isn't giving me anything.</p>