Пример #1
0
 void AddFrameworks(FrameworkChanges changes)
 {
     for (int ii = 0; ii < changes.Count; ++ii)
     {
         _pbxproj.AddSystemFramework(changes.FileNameAt(ii), changes.LinkTypeAt(ii));
     }
 }
Пример #2
0
 public void Merge(FrameworkChanges other)
 {
     foreach (var otherSys in other._frameworks)
     {
         if (_frameworks.FindIndex(o => o.FileName == otherSys.FileName) < 0)
         {
             _frameworks.Add(otherSys.Clone());
         }
     }
 }
Пример #3
0
 public XcodeChangeFile()
 {
     IsDirty          = false;
     SavePath         = "";
     Platform         = BuildPlatform.iOS;
     Frameworks       = new FrameworkChanges();
     FilesAndFolders  = new FilesAndFolderChanges();
     Scripts          = new ScriptChanges();
     BuildSettings    = new BuildSettingsChanges();
     InfoPlistChanges = new PListDictionary();
     Signing          = new SigningChanges();
     Capabilities     = new CapabilitiesChanges();
 }
Пример #4
0
        void LoadFrameworks(PListDictionary dic)
        {
            if (dic == null)
            {
                return;
            }

            try
            {
                Frameworks = new FrameworkChanges(dic);
            }
            catch
            {
                Debug.LogWarning("EgoXproject: Corrupt frameworks section in " + SavePath);
            }
        }