Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PBXProject.GetSourcesBuildPhaseByTarget

public string GetSourcesBuildPhaseByTarget(string targetGuid);

Parameters

targetGuid The 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.

Did you find this page useful? Please give it a rating: