AddPreBuildCommands( Bam.Core.StringArray commands, Configuration configuration) { if (!this.PreBuildBuildPhase.IsValueCreated) { this.Project.appendShellScriptsBuildPhase(this.PreBuildBuildPhase.Value); // do not add PreBuildBuildPhase to this.BuildPhases, so that it can be serialized in the right order } configuration.appendPreBuildCommands(commands); }