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.
Example
Output an error saying that
cfg
is not declaredHowever
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.