Пример #1
0
        public static PBXBuildFileData CreateFromFile(string fileRefGUID, bool weak, string compileFlags)
        {
            PBXBuildFileData pbxBuildFileData1 = new PBXBuildFileData();
            string           str1 = PBXGUID.Generate();

            pbxBuildFileData1.guid = str1;
            string str2 = fileRefGUID;

            pbxBuildFileData1.fileRef = str2;
            string str3 = compileFlags;

            pbxBuildFileData1.compileFlags = str3;
            List <string> list = new List <string>();

            pbxBuildFileData1.assetTags = list;
            int num1 = weak ? 1 : 0;

            pbxBuildFileData1.weak = num1 != 0;
            int num2 = 0;

            pbxBuildFileData1.codeSignOnCopy = num2 != 0;
            int num3 = 0;

            pbxBuildFileData1.removeHeadersOnCopy = num3 != 0;
            int num4 = 0;

            pbxBuildFileData1.publicHeader = num4 != 0;
            PBXBuildFileData pbxBuildFileData2 = pbxBuildFileData1;

            pbxBuildFileData2.SetPropertyString("isa", "PBXBuildFile");
            return(pbxBuildFileData2);
        }
Пример #2
0
        public static PBXBuildFileData CreateFromFile(string fileRefGUID, bool weak,
                                                      string compileFlags)
        {
            PBXBuildFileData buildFile = new PBXBuildFileData();

            buildFile.guid = PBXGUID.Generate();
            buildFile.SetPropertyString("isa", "PBXBuildFile");
            buildFile.fileRef      = fileRefGUID;
            buildFile.compileFlags = compileFlags;
            buildFile.weak         = weak;
            buildFile.assetTags    = new List <string>();
            return(buildFile);
        }
Пример #3
0
        public static PBXBuildFileData CreateFromFile(string fileRefGUID, bool weak, string compileFlags)
        {
            PBXBuildFileData data = new PBXBuildFileData {
                guid = PBXGUID.Generate()
            };

            data.SetPropertyString("isa", "PBXBuildFile");
            data.fileRef      = fileRefGUID;
            data.compileFlags = compileFlags;
            data.weak         = weak;
            data.assetTags    = new List <string>();
            return(data);
        }
Пример #4
0
        public static PBXBuildFileData CreateFromFile(string fileRefGUID, bool weak, string compileFlags)
        {
            PBXBuildFileData pbxBuildFileData = new PBXBuildFileData();

            pbxBuildFileData.guid = PBXGUID.Generate();
            pbxBuildFileData.SetPropertyString("isa", "PBXBuildFile");
            pbxBuildFileData.fileRef             = fileRefGUID;
            pbxBuildFileData.compileFlags        = compileFlags;
            pbxBuildFileData.weak                = weak;
            pbxBuildFileData.codeSignOnCopy      = false;
            pbxBuildFileData.removeHeadersOnCopy = false;
            pbxBuildFileData.assetTags           = new List <string>();
            return(pbxBuildFileData);
        }