Version: 2017.1

PBXProject.AddCopyFilesBuildPhase

切换到手册
public string AddCopyFilesBuildPhase (string targetGuid, string name, string dstPath, string subfolderSpec);

参数

targetGuid [[TargetGuidByName()]] 返回的目标的 GUID。
name 阶段的名称。
dstPath 目标路径。
subfolderSpec The "subfolder spec". The following usages are known: "13" for embedding app extension content; "16" for embedding watch content.

返回

string 返回新阶段的 GUID。

描述

为给定目标创建新的副本文件构建阶段。

新阶段位于为该目标配置的构建阶段列表的末尾。