public XmlDocument SetInfoPListMinimumOSVersion(string template_plist, string target_plist) { var template_info_plist = template_plist; var info_plist = new XmlDocument(); info_plist.LoadWithoutNetworkAccess(template_info_plist); SetInfoPListMinimumOSVersion(info_plist, MonoNativeHelper.GetMinimumOSVersion(DevicePlatform, Flavor)); info_plist.Save(target_plist, log); return(info_plist); }
public bool IsSupported(DevicePlatform devicePlatform, string productVersion) { if (MonoNativeInfo == null) { return(true); } var min_version = MonoNativeHelper.GetMinimumOSVersion(devicePlatform, MonoNativeInfo.Flavor); return(Version.Parse(productVersion) >= Version.Parse(min_version)); }
public void AddProjectDefines(XmlDocument project) { MonoNativeHelper.AddProjectDefines(project, Flavor); }