LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

PBXProject.UpdateBuildPropertyForConfig

public void UpdateBuildPropertyForConfig(string configGuid, string name, IEnumerable<string> addValues, IEnumerable<string> removeValues);
public void UpdateBuildPropertyForConfig(IEnumerable<string> configGuids, string name, IEnumerable<string> addValues, IEnumerable<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.