Skip to content

NetworkExtension tvOS xcode15.3 b3

Alex Soto edited this page Jul 8, 2024 · 2 revisions

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

diff -ruN /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNProtocol.h /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNProtocol.h
--- /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNProtocol.h	2024-01-27 00:58:58
+++ /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNProtocol.h	2024-02-06 09:26:41
@@ -75,7 +75,7 @@
 /*!
  * @property includeAllNetworks
  * @discussion If this property is set to YES then all network traffic is routed through the tunnel, with some exclusions. Several of the exclusions
- * can be controlled with the excludeLocalNetworks, excludeCellularServices, and excludeAPNs properties. See the documentation for those properties.
+ * can be controlled with the excludeLocalNetworks, excludeCellularServices, excludeAPNs and excludeDeviceCommunication properties. See the documentation for those properties.
  * The following traffic is always excluded from the tunnel:
  * - Traffic necessary for connecting and maintaining the device's network connection, such as DHCP.
  * - Traffic necessary for connecting to captive networks.
@@ -107,6 +107,14 @@
  * is excluded from the tunnel. The default value of this property is YES.
  */
 @property BOOL excludeAPNs API_AVAILABLE(macos(13.3), ios(16.4)) API_UNAVAILABLE(tvos, watchos) __WATCHOS_PROHIBITED;
+
+/*!
+ * @property excludeDeviceCommunication
+ * @discussion If includeAllNetworks is set to YES and this property is set to YES, then network traffic used for communicating with devices connected via USB or Wi-Fi is excluded
+ * from the tunnel. For example, Xcode uses a network tunnel to communicate with connected development devices like iPhone, iPad and TV. The default value of this
+ * property is YES.
+ */
+@property BOOL excludeDeviceCommunication API_AVAILABLE(macos(14.4), ios(17.4)) API_UNAVAILABLE(tvos, watchos) __WATCHOS_PROHIBITED;
 
 /*!
  * @property enforceRoutes
Clone this wiki locally