Version: 2019.2

PBXProject.GetSourcesBuildPhaseByTarget

Switch to Manual
public string GetSourcesBuildPhaseByTarget (string targetGuid);

Parameters

targetGuidThe GUID of the target as returned by [[TargetGuidByName()]].

Returns

string Returns the GUID of the existing phase or null if it does not exist.

Description

Returns the GUID of sources build phase for the given target.