Skip to content

Speech macOS xcode14.0 beta2

Manuel de la Pena edited this page Aug 4, 2022 · 3 revisions

#Speech.framework https://github.com/xamarin/xamarin-macios/pull/15627

diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h	2022-05-31 15:03:02.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Speech.framework/Headers/SFSpeechRecognizer.h	2022-06-17 11:25:31.000000000 -0400
@@ -36,7 +36,11 @@
 + (SFSpeechRecognizerAuthorizationStatus)authorizationStatus;
 + (void)requestAuthorization:(void(^)(SFSpeechRecognizerAuthorizationStatus status))handler;
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wnullability"
 - (nullable instancetype)init; // Returns speech recognizer with user's current locale, or nil if is not supported
+#pragma clang diagnostic pop
+
 - (nullable instancetype)initWithLocale:(NSLocale *)locale NS_DESIGNATED_INITIALIZER; // returns nil if the locale is not supported
 
 @property (nonatomic, readonly, getter=isAvailable) BOOL available;
Clone this wiki locally