void AddFrameworks(FrameworkChanges changes) { for (int ii = 0; ii < changes.Count; ++ii) { _pbxproj.AddSystemFramework(changes.FileNameAt(ii), changes.LinkTypeAt(ii)); } }
public void Merge(FrameworkChanges other) { foreach (var otherSys in other._frameworks) { if (_frameworks.FindIndex(o => o.FileName == otherSys.FileName) < 0) { _frameworks.Add(otherSys.Clone()); } } }
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(); }
void LoadFrameworks(PListDictionary dic) { if (dic == null) { return; } try { Frameworks = new FrameworkChanges(dic); } catch { Debug.LogWarning("EgoXproject: Corrupt frameworks section in " + SavePath); } }