From bbad1db466a4bf1bd3afa8c6dba80f0bfa30f6e6 Mon Sep 17 00:00:00 2001 From: William Kent Date: Mon, 19 Aug 2019 16:07:58 -0400 Subject: [PATCH 1/2] Add Apple Development certificates to Mac DetectSigningIdentity task --- msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs b/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs index 6b62d7f49198..1f692427aad8 100644 --- a/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs +++ b/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs @@ -12,9 +12,9 @@ namespace Xamarin.Mac.Tasks { public class DetectSigningIdentity : DetectSigningIdentityTaskBase { - static readonly string[] appStoreDistributionPrefixes = { "3rd Party Mac Developer Application" }; + static readonly string[] appStoreDistributionPrefixes = { "3rd Party Mac Developer Application", "Apple Distribution" }; static readonly string[] directDistributionPrefixes = { "Developer ID Application" }; - static readonly string[] developmentPrefixes = { "Mac Developer" }; + static readonly string[] developmentPrefixes = { "Mac Developer", "Apple Development" }; protected override string[] DevelopmentPrefixes { get { return developmentPrefixes; } } protected override string[] DirectDistributionPrefixes { get { return directDistributionPrefixes; } } From 2876065cd96d1d952dbdb81632adf0dd1b870392 Mon Sep 17 00:00:00 2001 From: William Kent Date: Mon, 19 Aug 2019 16:08:20 -0400 Subject: [PATCH 2/2] Update PlatformName value --- msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs b/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs index 1f692427aad8..6c64738e1ee3 100644 --- a/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs +++ b/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs @@ -21,7 +21,7 @@ public class DetectSigningIdentity : DetectSigningIdentityTaskBase protected override string[] AppStoreDistributionPrefixes { get { return appStoreDistributionPrefixes; } } protected override string DeveloperRoot { get { return MacOSXSdks.Native.DeveloperRoot; } } protected override PlatformFramework Framework { get { return PlatformFramework.MacOS; } } - protected override string PlatformName { get { return "OS X"; } } + protected override string PlatformName { get { return "macOS"; } } protected override string ApplicationIdentifierKey { get { return "com.apple.application-identifier"; } } } }