Skip to content

MLCompute iOS xcode15.3 b1

Alex Soto edited this page Jan 27, 2024 · 1 revision

#MLCompute.framework

diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCDefines.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCDefines.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCDefines.h	2023-11-12 10:25:18
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCDefines.h	2024-01-12 00:05:24
@@ -44,8 +44,10 @@
 #    define MLCOMPUTE_AVAILABLE_STARTING(...)                         __API_AVAILABLE(__VA_ARGS__)
 #    define MLCOMPUTE_AVAILABLE_STARTING_BUT_DEPRECATED(...)          __API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
 #    define MLCOMPUTE_UNAVAILABLE(...)                                __API_UNAVAILABLE(__VA_ARGS__)
-#    define MLCOMPUTE_AVAILABLE_STARTING_BUT_DEPRECATED_MACOS14(MACOS, IOS, TVOS, ...) \
-       API_DEPRECATED("Use Metal Performance Shaders Graph or BNNS instead.", macos(MACOS, API_TO_BE_DEPRECATED), ios(IOS, API_TO_BE_DEPRECATED), tvos(TVOS, API_TO_BE_DEPRECATED))
+#    define MLCOMPUTE_AVAILABLE_STARTING_BUT_DEPRECATED_MACOS14(ARG1, ARG2, ARG3, ...) \
+       MLCOMPUTE_ENUM_AVAILABLE_STARTING_BUT_DEPRECATED("Use Metal Performance Shaders Graph or BNNS instead.", macos(ARG1, 14.3)) \
+       MLCOMPUTE_ENUM_AVAILABLE_STARTING_BUT_DEPRECATED("Use Metal Performance Shaders Graph or BNNS instead.", ios(ARG2, 17.4)) \
+       MLCOMPUTE_ENUM_AVAILABLE_STARTING_BUT_DEPRECATED("Use Metal Performance Shaders Graph or BNNS instead.", tvos(ARG3, 17.4))
 #endif
 
 #endif /* MLComputeDefines_h */
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCTensorOptimizerDeviceData.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCTensorOptimizerDeviceData.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCTensorOptimizerDeviceData.h	2023-11-12 10:25:17
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MLCompute.framework/Headers/MLCTensorOptimizerDeviceData.h	2024-01-12 00:05:25
@@ -6,9 +6,11 @@
 //
 
 #import <Foundation/Foundation.h>
+#import <MLCompute/MLCDefines.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
+MLCOMPUTE_AVAILABLE_STARTING_BUT_DEPRECATED_MACOS14(11.0, 14.0, 14.0)
 @interface MLCTensorOptimizerDeviceData : NSObject<NSCopying>
 
 + (instancetype)new NS_UNAVAILABLE;
Clone this wiki locally