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

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public function UpdateBuildPropertyForConfig(configGuid: string, name: string, addValues: string[], removeValues: string[]): void;
public void UpdateBuildPropertyForConfig(string configGuid, string name, string[] addValues, string[] removeValues);
public function UpdateBuildPropertyForConfig(configGuids: string[], name: string, addValues: string[], removeValues: string[]): void;
public void UpdateBuildPropertyForConfig(string[] configGuids, string name, string[] addValues, string[] removeValues);

Parameters

configGuidThe GUID of the build configuration as returned by BuildConfigByName().
configGuidsAn array of GUIDs of build configurations.
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 the given build configuration.