[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:
Родитель
1e496ba458
Коммит
7e52c08a52
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче