//App Groups void ApplyAppGroupsCapability(AppGroupsCapability capability) { //update pbxproject _pbxproj.EnableSystemCapability("com.apple.ApplicationGroups.iOS", true); //update entitlements file var entitlementChanges = new PListDictionary(); var groups = new PListArray(); entitlementChanges.Add("com.apple.security.application-groups", groups); foreach (var item in capability.AppGroups) { groups.Add(item); } ApplyEntitlementsChanges(entitlementChanges, true); }
public AppGroupsCapability(AppGroupsCapability other) : base(other) { AppGroups = new List <string>(other.AppGroups); }