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.
In the following screenshot you can see for example:
- EXECUTABLE_NAME
- PRODUCT_BUNDLE_IDENTIFIER
- PRODUCT_NAME
My question: how do you create your own variable for inclusion in the plist?
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.
I've tried export BUILD_DATE=$(date +'%Y-%m-%d') in a build phase but putting $(BUILD_DATE) as a plist value just isn't giving me anything.
