[msbuild/dotnet] Mac Catalyst entitlements must be embedded in the app signature, not the executable.

Just like they are for macOS apps.
This commit is contained in:
Rolf Bjarne Kvinge 2021-07-16 18:22:02 +02:00
Родитель 1e496ba458
Коммит 7e52c08a52
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -457,7 +457,9 @@ namespace Xamarin.MacDev.Tasks
SaveArchivedExpandedEntitlements (archived);
if (SdkIsSimulator) {
if (Platform == Utils.ApplePlatform.MacCatalyst) {
EntitlementsInSignature = CompiledEntitlements;
} else if (SdkIsSimulator) {
if (compiled.Count > 0) {
EntitlementsInExecutable = CompiledEntitlements;
}