Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

PBXProject.UpdateBuildProperty

Switch to Manual
public function UpdateBuildProperty(targetGuid: string, name: string, addValues: string[], removeValues: string[]): void;
public function UpdateBuildProperty(targetGuids: string[], name: string, addValues: string[], removeValues: string[]): void;

Parameters

targetGuidThe target GUID as returned by NativeTargetByName().
targetGuidsAn array of target GUIDs.
nameThe name of the build property.
addValuesThe values to add to the build property.
removeValuesThe values to remove from the build property.

Description

Adds and removes values from build property in all build configurations for the specified target(s).