This repository was archived by the owner on Jun 2, 2019. It is now read-only.

Description
Example
project ("MyProject")
postbuildcommands { "{COPY} 'sourcefile'' '%{cfg.targetdir}'" }
Output an error saying that cfg is not declared
However
project ("MyProject")
configuration "Anything"
postbuildcommands { "{COPY} 'sourcefile'' '%{cfg.targetdir}'" }
works, because there is a special case for per-configuration commands in xcode.PBXShellScriptBuildPhase(tr)
IMO, *buildcommands should always be treated as per-configuration items since they can contains per-configuration tokens.
I do not have enough knowledge on how configs are constructed to submit a pull request for this.