Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

PBXProject.AddBuildProperty

public void AddBuildProperty(string targetGuid, string name, string value);

Parameters

targetGuid The GUID of the target as returned by TargetGuidByName.
name The name of the build property.
value The value of the build property.
targetGuids An array of target GUIDs.

Description

Adds a value to build property in all build configurations for the specified target(s).