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.SetBuildProperty

Switch to Manual
public function SetBuildProperty(targetGuid: string, name: string, value: string): void;
public function SetBuildProperty(targetGuids: string[], name: string, value: string): void;

Parameters

targetGuidThe target GUID as returned by NativeTargetByName().
targetGuidsAn array of target GUIDs.
nameThe name of the build property.
valueThe value of the build property.

Description

Sets the build property to the given value in all build configurations for the specified targets.