Skip to content

AVKit watchOS xcode15.1 b2

Alex Soto edited this page Oct 26, 2023 · 1 revision

#AVKit.framework

diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2023-08-05 12:44:08
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h	2023-10-16 02:48:59
@@ -39,6 +39,8 @@
 
 
 #if TARGET_OS_IOS && !TARGET_OS_VISION
+#import <AVKit/AVCaptureEventInteraction.h>
+#import <AVKit/AVCaptureEvent.h>
 #import <AVKit/AVError.h>
 #import <AVKit/AVPictureInPictureController.h>
 #import <AVKit/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h>
@@ -79,6 +81,8 @@
 
 #if TARGET_OS_VISION
 #import <AVKit/AVDisplayManager.h>
+#import <AVKit/AVCaptureEventInteraction.h>
+#import <AVKit/AVCaptureEvent.h>
 #import <AVKit/AVError.h>
 #import <AVKit/AVInterstitialTimeRange.h>
 #import <AVKit/AVPictureInPictureController.h>
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h	2023-08-05 12:44:08
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h	2023-10-16 02:48:59
@@ -10,6 +10,7 @@
 #import <Availability.h>
 #import <TargetConditionals.h>
 
+
 #ifdef __cplusplus
 #define AVKIT_EXTERN	extern "C" __attribute__((visibility ("default")))
 #else
@@ -19,18 +20,36 @@
 
 #if !TARGET_IS_AVKITMACHELPER
 #define AVKIT_ONLY_EXTERN AVKIT_EXTERN
-#define AVKIT_ONLY_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
 
 #define AVKIT_ONLY_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
+#define AVKIT_ONLY_API_UNAVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
+
 #define AVKIT_ONLY_API_DEPRECATED_WITH_REPLACEMENT(...) API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
 
 #else
 #define AVKIT_ONLY_EXTERN extern __attribute__((visibility ("hidden")))
+
 #define AVKIT_ONLY_API_AVAILABLE(...)
+#define AVKIT_ONLY_API_UNAVAILABLE(...)
 
 #define AVKIT_ONLY_API_DEPRECATED_WITH_REPLACEMENT(...)
 
-#endif
+#endif // !TARGET_IS_AVKITMACHELPER
+
+
+#if !TARGET_OS_VISION
+#define AVKIT_EXCLUDE_VISION_OS_EXTERN AVKIT_EXTERN
+
+#define AVKIT_EXCLUDE_VISION_OS_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
+#define AVKIT_EXCLUDE_VISION_OS_API_UNAVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
+
+#else
+#define AVKIT_EXCLUDE_VISION_OS_EXTERN extern __attribute__((visibility ("hidden")))
+
+#define AVKIT_EXCLUDE_VISION_OS_API_AVAILABLE(...)
+#define AVKIT_EXCLUDE_VISION_OS_API_UNAVAILABLE(...)
+
+#endif // !TARGET_OS_VISION
 
 
 #define PLATFORM_SUPPORTS_AVKITCORE (TARGET_OS_OSX || TARGET_OS_MACCATALYST)
Clone this wiki locally