public static PBXNativeTargetData Create(string name, string productRef, string productType, string buildConfigList)
 {
     PBXNativeTargetData data = new PBXNativeTargetData {
         guid = PBXGUID.Generate()
     };
     data.SetPropertyString("isa", "PBXNativeTarget");
     data.buildConfigList = buildConfigList;
     data.phases = new GUIDList();
     data.SetPropertyList("buildRules", new List<string>());
     data.dependencies = new GUIDList();
     data.name = name;
     data.SetPropertyString("productName", name);
     data.SetPropertyString("productReference", productRef);
     data.SetPropertyString("productType", productType);
     return data;
 }
Beispiel #2
0
        public static PBXNativeTargetData Create(string name, string productRef,
                                                 string productType, string buildConfigList)
        {
            var res = new PBXNativeTargetData();

            res.guid = PBXGUID.Generate();
            res.SetPropertyString("isa", "PBXNativeTarget");
            res.buildConfigList = buildConfigList;
            res.phases          = new GUIDList();
            res.SetPropertyList("buildRules", new List <string>());
            res.dependencies = new GUIDList();
            res.name         = name;
            res.SetPropertyString("productName", name);
            res.SetPropertyString("productReference", productRef);
            res.SetPropertyString("productType", productType);
            return(res);
        }
 private FileGUIDListBase BuildSectionAny(PBXNativeTargetData target, string path, bool isFolderRef)
 {
     return this.m_Data.BuildSectionAny(target, path, isFolderRef);
 }