Version: 5.6
public string AddFile (string path, string projectPath);
public string AddFile (string path, string projectPath, iOS.Xcode.PBXSourceTree sourceTree);

Parámetros

path The physical path of the file.
projectPath The project path of the file.
sourceTree The source tree the path is relative to. By default it's PBXSourceTree.Group.

Valor de retorno

string The GUID of the added file.

Descripción

Adds file to the project.

To add the file to the list of files to build, pass the returned value to AddFileToBuild.