From 489719f56a7ef462304657d98479a7d527d8a010 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Wed, 11 Sep 2019 18:49:29 -0400 Subject: [PATCH] [CoreHaptics] Remove the framework from Mac OS X until we know better. (#6987) --- src/Constants.mac.cs.in | 3 ++- tools/common/Frameworks.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Constants.mac.cs.in b/src/Constants.mac.cs.in index c547d71a04..2288cb4d1a 100644 --- a/src/Constants.mac.cs.in +++ b/src/Constants.mac.cs.in @@ -167,6 +167,7 @@ namespace MonoMac { public const string PencilKitLibrary = "/System/Library/Frameworks/PencilKit.framework/PencilKit"; public const string SpeechLibrary = "/System/Library/Frameworks/Speech.framework/Speech"; public const string LinkPresentationLibrary = "/System/Library/Frameworks/LinkPresentation.framework/LinkPresentation"; - public const string CoreHapticsLibrary = "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics"; + // not clear if the api is available, issue: https://github.com/xamarin/maccore/issues/1951 + //public const string CoreHapticsLibrary = "/System/Library/Frameworks/CoreHaptics.framework/CoreHaptics"; } } diff --git a/tools/common/Frameworks.cs b/tools/common/Frameworks.cs index 15f863cf7f..f9da3c4335 100644 --- a/tools/common/Frameworks.cs +++ b/tools/common/Frameworks.cs @@ -188,7 +188,8 @@ public class Frameworks : Dictionary { "PencilKit", "PencilKit", 10,15 }, { "Speech", "Speech", 10,15 }, { "LinkPresentation", "LinkPresentation", 10,15 }, - { "CoreHaptics", "CoreHaptics", 10,15 }, + // not sure if the API is available, issue: https://github.com/xamarin/maccore/issues/1951 + //{ "CoreHaptics", "CoreHaptics", 10,15 }, }; } return mac_frameworks;