Version: 2019.1

PBXProject.GetBuildPhaseName

Switch to Manual
public string GetBuildPhaseName (string phaseGuid);

Parameters

phaseGuidGUID of the phase.

Returns

string The build phase name if it's defined.

Description

Returns the name of the build phase with the specified GUID.

For shell script and copy file build phases, the name is returned. For all other phases, the type is returned for all other phases. This is same behavior as [[GetBuildPhaseType(string)]]. If a phase with the given GUID is not available, Null is returned.