Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答