This command line tool can parse a specific Xcode build setting for a project and return it on stdout. This can be used in a build system for accessing a build setting such as a version number.
Supply either a project:
xcsetting --project <project> --scheme <scheme> <setting>
Or a workspace:
xcsetting --workspace <workspace> --scheme <scheme> <setting>
Use the Mint package manager to install xcsetting
:
$ mint install davidahouse/xcsetting