[tools] Catalyst apps must specify their target ABI(s)

No assumptions makes it easier down the road when we're adding support for ARM64.
This commit is contained in:
Rolf Bjarne Kvinge 2020-11-17 09:30:08 +01:00
Родитель 76da5c461e
Коммит 716e395ea4
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -887,6 +887,10 @@ namespace Xamarin.Bundler {
if (abis.Count == 0)
abis.Add (Abi.x86_64);
break;
case ApplePlatform.MacCatalyst:
if (abis.Count == 0)
throw ErrorHelper.CreateError (76, Errors.MT0076, "Xamarin.MacCatalyst");
break;
default:
throw ErrorHelper.CreateError (71, Errors.MX0071, Platform, ProductName);
}