Version: 2017.1

PBXProject.SetBuildPropertyForConfig

切换到手册
public void SetBuildPropertyForConfig (string configGuid, string name, string value);
public void SetBuildPropertyForConfig (IEnumerable<string> configGuids, string name, string value);

参数

configGuid BuildConfigByName 返回的构建配置的 GUID。
configGuids [[BuildConfigByName()]] 返回的构建配置的 GUID。
name 构建属性的名称。
value 构建属性的值。

描述

在指定构建配置中将构建属性设置为给定值。

重复的构建属性将被忽略。如果名称“LIBRARY_SEARCH_PATHS”和“FRAMEWORK_SEARCH_PATHS”的值包含空格,则会用引号将其引起来。