In our project we derive our release version from git tag etc then write it to the built folder\'s Info.plist with a shell script like:
GIT_RELEASE_VERSION=$(some
Similar to the answers above (can't comment yet) but slightly changed.
Scripts input files:
$(PROJECT_DIR)/$(INFOPLIST_FILE)
$(TARGET_BUILD_DIR)/$(INFOPLIST_PATH)
Output files:
$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)
I created a gist with a script I use to set the bundle version and some extra info like tag, date, branch.
https://gist.github.com/JoeMatt/aedd459c54a383373231719e508a2a36