Skip to content

NetworkExtension macOS xcode15.1 b2

Alex Soto edited this page Jan 3, 2024 · 2 revisions

#NetworkExtension.framework https://github.com/xamarin/xamarin-macios/pull/19717

diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFailureHandlerProvider.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFailureHandlerProvider.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFailureHandlerProvider.h	2023-08-24 00:47:41
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFailureHandlerProvider.h	1969-12-31 19:00:00
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2023 Apple Inc.
- * All rights reserved.
- */
-
-#ifndef __NE_INDIRECT__
-#error "Please import the NetworkExtension module instead of this file directly."
-#endif
-
-#import <NetworkExtension/NEProvider.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/*!
- * @file NEFailureHandlerProvider.h
- * @discussion This file declares the NEFailureHandlerProvider API. The NEFailureHandlerProvider API declares the base class for Network Extension providers that handle errors.
- *
- * This API is part of NetworkExtension.framework
- */
-API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos)
-@interface NEFailureHandlerProvider : NEProvider
-
-/*!
- * @method handleFailure:completionHandler:
- * @discussion This method is called by the framework when some other provider in the same containing app repeatedly fails to start or connect. For example, when a VPN provider repeatedly fails to connect this method will be called to handle the failure. Subclasses must override this method to perform necessary tasks, for example notify the user of the failure or modify the configuration to fix the failure.
- * @param error An NSError containing details about the failure.
- * @param completionHandler A block that must be called when the error has been handled.
- */
-- (void)handleFailure:(NSError *)error completionHandler:(void (^)(void))completionHandler API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos);
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NetworkExtension.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NetworkExtension.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NetworkExtension.h	2023-08-24 00:47:39
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NetworkExtension.h	2023-10-18 00:53:56
@@ -20,7 +20,6 @@
 #import <NetworkExtension/NEDNSProxyProviderProtocol.h>
 #import <NetworkExtension/NEDNSSettings.h>
 #import <NetworkExtension/NEDNSSettingsManager.h>
-#import <NetworkExtension/NEFailureHandlerProvider.h>
 #import <NetworkExtension/NEFilterControlProvider.h>
 #import <NetworkExtension/NEFilterDataProvider.h>
 #import <NetworkExtension/NEFilterFlow.h>
Clone this wiki locally