Skip to content

Accessibility tvOS xcode14.0 beta1

Alex Soto edited this page Jun 7, 2022 · 2 revisions

#Accessibility.framework

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFoundation.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFoundation.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFoundation.h	2022-02-17 00:53:41.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFoundation.h	2022-05-21 04:48:46.000000000 -0400
@@ -5,9 +5,12 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
-#import <Foundation/Foundation.h>
 #import <CoreGraphics/CoreGraphics.h>
 
+#if defined(__OBJC__) || defined(__swift__)
+#import <Foundation/Foundation.h>
+#endif
+
 #ifndef AX_EXTERN
     #ifdef __cplusplus
         #define AX_EXTERN   extern "C" __attribute__((visibility("default")))
Clone this wiki locally