[msbuild] Remove unused parameters from the CompileEntitlement task. (#18945)

This commit is contained in:
Rolf Bjarne Kvinge 2023-09-11 09:35:37 +02:00 коммит произвёл GitHub
Родитель 8b3bf352d1
Коммит 2fba9a81fe
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 0 добавлений и 17 удалений

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

@ -48,9 +48,6 @@ namespace Xamarin.MacDev.Tasks {
[Required]
public string AppBundleDir { get; set; } = string.Empty;
[Required]
public string AppIdentifier { get; set; } = string.Empty;
[Required]
public string BundleIdentifier { get; set; } = string.Empty;
@ -63,14 +60,8 @@ namespace Xamarin.MacDev.Tasks {
public string Entitlements { get; set; } = string.Empty;
[Required]
public bool IsAppExtension { get; set; }
public string ProvisioningProfile { get; set; } = string.Empty;
[Required]
public string SdkDevPath { get; set; } = string.Empty;
public bool SdkIsSimulator { get; set; }
[Required]

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

@ -655,17 +655,14 @@ Copyright (C) 2018 Microsoft. All rights reserved.
SessionId="$(BuildSessionId)"
Condition="'$(IsMacEnabled)' == 'true'"
AppBundleDir="$(AppBundleDir)"
AppIdentifier="$(_AppIdentifier)"
BundleIdentifier="$(_BundleIdentifier)"
CustomEntitlements="@(CustomEntitlements)"
Entitlements="$(CodesignEntitlements)"
CompiledEntitlements="$(_CompiledEntitlementsPath)"
IsAppExtension="$(IsAppExtension)"
ProvisioningProfile="$(_ProvisioningProfile)"
SdkIsSimulator="$(_SdkIsSimulator)"
SdkPlatform="$(_SdkPlatform)"
SdkVersion="$(_SdkVersion)"
SdkDevPath="$(_SdkDevPath)"
TargetFrameworkMoniker="$(_ComputedTargetFrameworkMoniker)"
Debug="$(_BundlerDebug)"
>

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

@ -138,16 +138,13 @@
<CompileEntitlements
AppBundleDir="$(HotRestartAppBundlePath)"
AppIdentifier="$(_AppIdentifier)"
BundleIdentifier="$(_BundleIdentifier)"
Entitlements="$(_HotRestartEntitlementsFile)"
CompiledEntitlements="$(HotRestartAppBundlePath)\Entitlements.plist"
IsAppExtension="$(IsAppExtension)"
ProvisioningProfile="$(_ProvisioningProfileId)"
SdkIsSimulator="$(_SdkIsSimulator)"
SdkPlatform="iPhoneOS"
SdkVersion="12.2"
SdkDevPath=" "
TargetFrameworkMoniker="$(_ComputedTargetFrameworkMoniker)" />
</Target>

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

@ -28,11 +28,9 @@ namespace Xamarin.MacDev.Tasks {
var task = CreateTask<CustomCompileEntitlements> ();
task.AppBundleDir = AppBundlePath;
task.AppIdentifier = "32UV7A8CDE.com.xamarin.MySingleView";
task.BundleIdentifier = "com.xamarin.MySingleView";
task.CompiledEntitlements = new TaskItem (Path.Combine (MonoTouchProjectObjPath, "Entitlements.xcent"));
task.Entitlements = Path.Combine (Path.GetDirectoryName (GetType ().Assembly.Location), "Resources", "Entitlements.plist");
task.IsAppExtension = false;
task.ProvisioningProfile = Path.Combine (Path.GetDirectoryName (GetType ().Assembly.Location), "Resources", "profile.mobileprovision");
task.SdkPlatform = "iPhoneOS";
task.SdkVersion = "6.1";