Revert "[tests] Remove workaround for xamarin/maccore#1996."

This reverts commit f363515829.

Pushed to the wrong branch.
This commit is contained in:
Rolf Bjarne Kvinge 2019-09-30 15:13:48 +02:00
Родитель f363515829
Коммит 7144927e91
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -126,6 +126,13 @@ namespace Xamarin.Tests
}
mono_native_compat_version = version;
mono_native_unified_version = new Version (10, 0, 0);
// This condition and everything inside it is a workaround for https://github.com/xamarin/maccore/issues/1996.
if (alternate_version == null || (alternate_version.Major == 7 && version.Major == 7)) {
alternate_version = new Version (6, 0, 0);
if (!slice.IsDynamicLibrary)
mono_native_compat_version = alternate_version;
}
break;
case MachO.LoadCommands.MintvOS:
version = SdkVersions.MinTVOSVersion;