示例#1
0
        public static PBXCopyFilesBuildPhaseData Create(string name, string dstPath, string subfolderSpec)
        {
            PBXCopyFilesBuildPhaseData filesBuildPhaseData = new PBXCopyFilesBuildPhaseData();

            filesBuildPhaseData.guid = PBXGUID.Generate();
            filesBuildPhaseData.SetPropertyString("isa", "PBXCopyFilesBuildPhase");
            filesBuildPhaseData.SetPropertyString("buildActionMask", "2147483647");
            filesBuildPhaseData.dstPath          = dstPath;
            filesBuildPhaseData.dstSubfolderSpec = subfolderSpec;
            filesBuildPhaseData.files            = (GUIDList) new List <string>();
            filesBuildPhaseData.SetPropertyString("runOnlyForDeploymentPostprocessing", "0");
            filesBuildPhaseData.name = name;
            return(filesBuildPhaseData);
        }
示例#2
0
        // name may be null
        public static PBXCopyFilesBuildPhaseData Create(string name, string subfolderSpec)
        {
            var res = new PBXCopyFilesBuildPhaseData();

            res.guid = PBXGUID.Generate();
            res.SetPropertyString("isa", "PBXCopyFilesBuildPhase");
            res.SetPropertyString("buildActionMask", "2147483647");
            res.SetPropertyString("dstPath", "");
            res.SetPropertyString("dstSubfolderSpec", subfolderSpec);
            res.files = new List <string>();
            res.SetPropertyString("runOnlyForDeploymentPostprocessing", "0");
            res.name = name;
            return(res);
        }
 public static PBXCopyFilesBuildPhaseData Create(string name, string subfolderSpec)
 {
     PBXCopyFilesBuildPhaseData data = new PBXCopyFilesBuildPhaseData {
         guid = PBXGUID.Generate()
     };
     data.SetPropertyString("isa", "PBXCopyFilesBuildPhase");
     data.SetPropertyString("buildActionMask", "2147483647");
     data.SetPropertyString("dstPath", "");
     data.SetPropertyString("dstSubfolderSpec", subfolderSpec);
     data.files = new List<string>();
     data.SetPropertyString("runOnlyForDeploymentPostprocessing", "0");
     data.name = name;
     return data;
 }