Skip to content

Vision iOS xcode27.0 b1

Alex Soto edited this page Jun 9, 2026 · 1 revision

#Vision.framework

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h	2026-04-18 22:44:20
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h	2026-06-04 04:07:11
@@ -78,7 +78,7 @@
     @brief expands set of detected symbologies, improves accuracy, offers supplemental payloads,
     adds inverted color support, and may produce observations outside image bounds in comparison to prior revisions
  */
-API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0))
+API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(27.0))
 static const NSUInteger VNDetectBarcodesRequestRevision4 = 4;
 
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h	2026-04-18 22:44:19
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h	2026-06-04 04:07:11
@@ -37,4 +37,6 @@
     VNErrorTimeout  API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0)),
     VNErrorUnsupportedComputeStage API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0)),
     VNErrorUnsupportedComputeDevice API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0)),
+    VNErrorResourceUnavailable API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), visionos(27.0), watchos(27.0)),
+    VNErrorResourceCorrupted API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), visionos(27.0), watchos(27.0)),
 };
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h	2026-04-18 21:35:01
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h	2026-06-03 23:48:26
@@ -29,8 +29,10 @@
 @class VNFaceLandmarks2D;
 @class VNPixelBufferObservation;
 @class VNImageRequestHandler;
+#if !TARGET_OS_WATCH
 @class VNRecognizedPoint3D;
 @class VNHumanBodyRecognizedPoint3D;
+#endif
 
 
 /*!
@@ -357,6 +359,7 @@
 
 @end
 
+#if !TARGET_OS_WATCH
 /*!
  @class VNRecognizedText
  @brief VNRecognizedText A block of recognized text. There can be multiple VNRecognizedText objects returned in a VNRecognizedTextObservation - one for each candidate.
@@ -400,6 +403,7 @@
 
 
 @end
+#endif // !TARGET_OS_WATCH
 
 
 /*!
@@ -654,6 +658,7 @@
 @end
 
 
+#if !TARGET_OS_WATCH
 #pragma mark ---- VNRecognizedPointsObservation ----
 
 
@@ -718,6 +723,7 @@
 - (nullable MLMultiArray*) keypointsMultiArrayAndReturnError:(NSError**)error;
 
 @end
+#endif // !TARGET_OS_WATCH
 
 
 /*!
@@ -735,7 +741,6 @@
 
 @end
 
-
 #pragma mark ---- VNInstanceMaskObservation ----
 
 
@@ -785,7 +790,7 @@
 
 @end
 
-
+#if !TARGET_OS_WATCH
 API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0))
 @interface VNAnimalBodyPoseObservation : VNRecognizedPointsObservation
 
@@ -962,6 +967,7 @@
                              error:(NSError**)error;
 
 @end
+#endif // !TARGET_OS_WATCH
 
 #pragma mark ---- VNImageAestheticsScoresObservation ----
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h	2026-04-18 22:44:20
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h	2026-06-04 02:40:26
@@ -8,8 +8,6 @@
 #import <Foundation/Foundation.h>
 #import <CoreGraphics/CoreGraphics.h>
 #import <CoreML/CoreML.h>
-#import <Metal/Metal.h>
-
 #import <Vision/VNObservation.h>
 
 
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h	2026-04-18 22:44:19
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h	2026-06-04 07:50:16
@@ -86,7 +86,7 @@
 
 
 
-
+#if !TARGET_OS_WATCH
 typedef NSString* VNVideoProcessingOption NS_STRING_ENUM API_DEPRECATED_WITH_REPLACEMENT("VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
 VN_EXPORT VNVideoProcessingOption const VNVideoProcessingOptionFrameCadence API_DEPRECATED_WITH_REPLACEMENT("VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
 VN_EXPORT VNVideoProcessingOption const VNVideoProcessingOptionTimeInterval API_DEPRECATED_WITH_REPLACEMENT("VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
@@ -99,9 +99,9 @@
     VNChiralityLeft = -1,
     VNChiralityRight = 1
 };
+#endif // !TARGET_OS_WATCH
 
 
-
 API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
 typedef NS_CLOSED_ENUM(NSInteger, VNPointsClassification)
 {
@@ -127,7 +127,7 @@
 
 typedef NSString * VNRecognizedPointGroupKey NS_STRING_ENUM;
 
-
+#if !TARGET_OS_WATCH
 typedef VNRecognizedPointKey VNAnimalBodyPoseObservationJointName NS_TYPED_ENUM NS_SWIFT_NAME(VNAnimalBodyPoseObservation.JointName) API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0));
 
 VN_EXPORT VNAnimalBodyPoseObservationJointName const VNAnimalBodyPoseObservationJointNameLeftEarTop API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0));              // Head
@@ -198,3 +198,4 @@
 VN_EXPORT VNHumanBodyPose3DObservationJointsGroupName const VNHumanBodyPose3DObservationJointsGroupNameRightLeg API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0)); //  right ankle, right knee, and right hip
 VN_EXPORT VNHumanBodyPose3DObservationJointsGroupName const VNHumanBodyPose3DObservationJointsGroupNameAll API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0));
 
+#endif // !TARGET_OS_WATCH
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h	2026-04-18 22:44:18
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h	2026-06-04 04:07:10
@@ -7,6 +7,7 @@
 #import <Foundation/Foundation.h>
 
 #import <Vision/VNDefines.h>
+#if !TARGET_OS_WATCH
 #import <Vision/VNTypes.h>
 #import <Vision/VNError.h>
 #import <Vision/VNUtils.h>
@@ -21,8 +22,6 @@
 #import <Vision/VNDetectFaceCaptureQualityRequest.h>
 #import <Vision/VNDetectHorizonRequest.h>
 #import <Vision/VNDetectRectanglesRequest.h>
-#import <Vision/VNDetectTextRectanglesRequest.h>
-#import <Vision/VNRecognizeTextRequest.h>
 #import <Vision/VNGenerateAttentionBasedSaliencyImageRequest.h>
 #import <Vision/VNGenerateObjectnessBasedSaliencyImageRequest.h>
 #import <Vision/VNGenerateImageFeaturePrintRequest.h>
@@ -36,11 +35,7 @@
 #import <Vision/VNTrackRectangleRequest.h>
 #import <Vision/VNDetectHumanRectanglesRequest.h>
 #import <Vision/VNRecognizeAnimalsRequest.h>
-#import <Vision/VNGenerateOpticalFlowRequest.h>
-#import <Vision/VNVideoProcessor.h>
 #import <Vision/VNDetectedPoint.h>
-#import <Vision/VNDetectHumanBodyPoseRequest.h>
-#import <Vision/VNDetectHumanHandPoseRequest.h>
 #import <Vision/VNDetectContoursRequest.h>
 #import <Vision/VNGeometry.h>
 #import <Vision/VNGeometryUtils.h>
@@ -51,12 +46,22 @@
 #import <Vision/VNGeneratePersonInstanceMaskRequest.h>
 #import <Vision/VNTrackTranslationalImageRegistrationRequest.h>
 #import <Vision/VNTrackHomographicImageRegistrationRequest.h>
+#import <Vision/VNCalculateImageAestheticsScoresRequest.h>
+
+
+#import <Vision/VNGenerateOpticalFlowRequest.h>
+#import <Vision/VNVideoProcessor.h>
+#import <Vision/VNDetectHumanBodyPoseRequest.h>
+#import <Vision/VNDetectHumanHandPoseRequest.h>
+#import <Vision/VNHumanBodyRecognizedPoint3D.h>
 #import <Vision/VNTrackOpticalFlowRequest.h>
 #import <Vision/VNDetectAnimalBodyPoseRequest.h>
 #import <Vision/VNDetectHumanBodyPose3DRequest.h>
-#import <Vision/VNHumanBodyRecognizedPoint3D.h>
 #import <Vision/VNRecognizedPoint3D.h>
-#import <Vision/VNCalculateImageAestheticsScoresRequest.h>
+#import <Vision/VNRecognizeTextRequest.h>
+#import <Vision/VNDetectTextRectanglesRequest.h>
+
+#endif
 
 /* The version of the Vision framework */
 VN_EXPORT double VNVisionVersionNumber API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));

Clone this wiki locally