xamarin-macios/msbuild/Xamarin.Mac.Tasks/Tasks/DetectSigningIdentity.cs

28 строки
1.2 KiB
C#

//
// DetectSigningIdentityTask.cs
//
// Author:
// Aaron Bockover <abock@xamarin.com>
//
// Copyright 2014 Xamarin Inc.
using Xamarin.MacDev.Tasks;
namespace Xamarin.Mac.Tasks
{
public class DetectSigningIdentity : DetectSigningIdentityTaskBase
{
static readonly string[] appStoreDistributionPrefixes = { "3rd Party Mac Developer Application", "Apple Distribution" };
static readonly string[] directDistributionPrefixes = { "Developer ID Application" };
static readonly string[] developmentPrefixes = { "Mac Developer", "Apple Development" };
protected override string[] DevelopmentPrefixes { get { return developmentPrefixes; } }
protected override string[] DirectDistributionPrefixes { get { return directDistributionPrefixes; } }
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 "macOS"; } }
protected override string ApplicationIdentifierKey { get { return "com.apple.application-identifier"; } }
}
}