Skip to content

CoreMotion watchOS xcode15.0 b5

Manuel de la Pena edited this page Sep 1, 2023 · 3 revisions

#CoreMotion.framework https://github.com/xamarin/xamarin-macios/pull/18915

diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h	2023-07-19 02:18:24
@@ -20,11 +20,11 @@
  *  Discussion:
  *    Typedef of block to be invoked when the device's altitude is updated.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-typedef void (^CMAltitudeHandler)(CMAltitudeData * __nullable altitudeData, NSError * __nullable error) API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+typedef void (^CMAltitudeHandler)(CMAltitudeData * __nullable altitudeData, NSError * __nullable error) API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos);
 #else
 typedef void (^CMAltitudeHandler)(CMAltitudeData * __nullable altitudeData, NSError * __nullable error) API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  CMAbsoluteAltitudeHandler
@@ -32,11 +32,11 @@
  *  Discussion:
  *    Typedef of block to be invoked when the device's absolute altitude is updated.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
 typedef void (^CMAbsoluteAltitudeHandler)(CMAbsoluteAltitudeData *__nullable altitudeData, NSError *__nullable error) API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(macos, tvos);
 #else
-typedef void (^CMAbsoluteAltitudeHandler)(CMAbsoluteAltitudeData *__nullable altitudeData, NSError *__nullable error) API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos, tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+typedef void (^CMAbsoluteAltitudeHandler)(CMAbsoluteAltitudeData *__nullable altitudeData, NSError *__nullable error) API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, tvos);
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 
 /*
@@ -45,11 +45,11 @@
  *  Discussion:
  *		CMAltimeter provides information about the altitude of the device.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMAltimeter : NSObject
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltitude.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltitude.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltitude.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltitude.h	2023-07-19 02:18:25
@@ -18,11 +18,11 @@
  *  Discussion:
  *      Contains a single altimeter measurement.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMAltitudeData : CMLogItem
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMDeviceMotion.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMDeviceMotion.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMDeviceMotion.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMDeviceMotion.h	2023-07-19 05:03:07
@@ -136,11 +136,11 @@
  *    for CMAttitudeReferenceFrameXArbitraryZVertical and CMAttitudeReferenceFrameXArbitraryCorrectedZVertical.
  *
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-@property(readonly, nonatomic) double heading COREMOTION_EXPORT API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+@property(readonly, nonatomic) double heading COREMOTION_EXPORT API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(visionos);
 #else
 @property(readonly, nonatomic) double heading COREMOTION_EXPORT API_AVAILABLE(ios(11.0));
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  sensorLocation
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h	2023-07-19 02:18:24
@@ -29,11 +29,11 @@
  *  Discussion:
  *    The CMHeadphoneMotionManager object is your entry point to the headphone motion service.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(macos(14.0), ios(14.0)) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(macos(14.0), ios(14.0)) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(macos(14.0), ios(14.0))
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMHeadphoneMotionManager : NSObject
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManagerDelegate.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManagerDelegate.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManagerDelegate.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManagerDelegate.h	2023-07-19 02:18:24
@@ -18,11 +18,11 @@
  *  Discussion:
  *    Delegate for CMHeadphoneMotionManager.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(macos(14.0), ios(14.0)) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(macos(14.0), ios(14.0)) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(macos(14.0), ios(14.0))
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @protocol CMHeadphoneMotionManagerDelegate<NSObject>
 
 @optional
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHighFrequencyHeartRateData.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHighFrequencyHeartRateData.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHighFrequencyHeartRateData.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHighFrequencyHeartRateData.h	2023-07-19 02:18:24
@@ -27,11 +27,11 @@
  *  CMHighFrequencyHeartRateData
  *  Heart rate data collected at 1Hz.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macos, tvos) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macos, tvos) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macos, tvos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMHighFrequencyHeartRateData : CMLogItem
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMagnetometer.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMagnetometer.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMagnetometer.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMagnetometer.h	2023-07-19 02:18:25
@@ -39,11 +39,11 @@
  *  Discussion:
  *    Contains a single magnetometer measurement.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(5.0))
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMMagnetometerData : CMLogItem
 {
 @private
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivity.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivity.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivity.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivity.h	2023-07-19 02:18:24
@@ -46,11 +46,11 @@
  *    Note in this case all of the properties are NO.
  *
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMMotionActivity : CMLogItem
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivityManager.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivityManager.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivityManager.h	2023-06-08 00:14:18
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivityManager.h	2023-07-19 02:09:32
@@ -18,11 +18,11 @@
  *  Discussion:
  *    Typedef of block to be invoked when the device's activity is updated.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-typedef void (^CMMotionActivityHandler)(CMMotionActivity * __nullable activity) COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+typedef void (^CMMotionActivityHandler)(CMMotionActivity * __nullable activity) COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, visionos);
 #else
 typedef void (^CMMotionActivityHandler)(CMMotionActivity * __nullable activity) COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 /*
  *  CMMotionActivityQueryHandler
  *
@@ -30,11 +30,11 @@
  *    Typedef of block to be invoked when the historical activity query is
  *    completed.  The array is an array of CMMotionActivity objects.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-typedef void (^CMMotionActivityQueryHandler)(NSArray<CMMotionActivity *> * __nullable activities, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+typedef void (^CMMotionActivityQueryHandler)(NSArray<CMMotionActivity *> * __nullable activities, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, visionos);
 #else
 typedef void (^CMMotionActivityQueryHandler)(NSArray<CMMotionActivity *> * __nullable activities, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *   CMMotionActivityManager
@@ -49,11 +49,11 @@
  *      2. By providing a queue and a block to startActivityUpdatesToQueue:withHandler:
  *      which will provide live activity updates to a running application.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos, visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMMotionActivityManager : NSObject
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h	2023-06-29 00:21:50
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h	2023-07-19 05:03:07
@@ -74,11 +74,11 @@
  *  Discussion:
  *    Typedef of block to be invoked when magnetometer data is available.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-typedef void (^CMMagnetometerHandler)(CMMagnetometerData * __nullable magnetometerData, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+typedef void (^CMMagnetometerHandler)(CMMagnetometerData * __nullable magnetometerData, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos, visionos);
 #else
 typedef void (^CMMagnetometerHandler)(CMMagnetometerData * __nullable magnetometerData, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  CMMotionManager
@@ -241,11 +241,11 @@
  *    timestamps on the delivered CMMagnetometerData instances to determine the
  *    true update interval.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-@property(assign, nonatomic) NSTimeInterval magnetometerUpdateInterval COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+@property(assign, nonatomic) NSTimeInterval magnetometerUpdateInterval COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, visionos);
 #else
 @property(assign, nonatomic) NSTimeInterval magnetometerUpdateInterval COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 
 /*
@@ -254,11 +254,11 @@
  *  Discussion:
  *    Determines whether magetometer is available.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-@property(readonly, nonatomic, getter=isMagnetometerAvailable) BOOL magnetometerAvailable COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+@property(readonly, nonatomic, getter=isMagnetometerAvailable) BOOL magnetometerAvailable COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, visionos);
 #else
 @property(readonly, nonatomic, getter=isMagnetometerAvailable) BOOL magnetometerAvailable COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  magnetometerActive
@@ -266,11 +266,11 @@
  *  Discussion:
  *    Determines whether the CMMotionManager is currently providing magnetometer updates.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-@property(readonly, nonatomic, getter=isMagnetometerActive) BOOL magnetometerActive COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+@property(readonly, nonatomic, getter=isMagnetometerActive) BOOL magnetometerActive COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, visionos);
 #else
 @property(readonly, nonatomic, getter=isMagnetometerActive) BOOL magnetometerActive COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  magnetometerData
@@ -278,11 +278,11 @@
  *  Discussion:
  *    Returns the latest sample of magnetometer data, or nil if none is available.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-@property(readonly, nullable) CMMagnetometerData *magnetometerData COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+@property(readonly, nullable) CMMagnetometerData *magnetometerData COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, visionos);
 #else
 @property(readonly, nullable) CMMagnetometerData *magnetometerData COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  startMagnetometerUpdates
@@ -291,11 +291,11 @@
  *    Starts magnetometer updates with no handler. To receive the latest magnetometer data
  *    when desired, examine the magnetometerData property.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-- (void)startMagnetometerUpdates COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+- (void)startMagnetometerUpdates COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, visionos);
 #else
 - (void)startMagnetometerUpdates COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  startMagnetometerUpdatesToQueue:withHandler:
@@ -303,11 +303,11 @@
  *  Discussion:
  *    Starts magnetometer updates, providing data to the given handler through the given queue.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-- (void)startMagnetometerUpdatesToQueue:(NSOperationQueue *)queue withHandler:(CMMagnetometerHandler)handler COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+- (void)startMagnetometerUpdatesToQueue:(NSOperationQueue *)queue withHandler:(CMMagnetometerHandler)handler COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, visionos);
 #else
 - (void)startMagnetometerUpdatesToQueue:(NSOperationQueue *)queue withHandler:(CMMagnetometerHandler)handler COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  stopMagnetometerUpdates
@@ -315,11 +315,11 @@
  *  Discussion:
  *    Stops magnetometer updates.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-- (void)stopMagnetometerUpdates COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+- (void)stopMagnetometerUpdates COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, visionos);
 #else
 - (void)stopMagnetometerUpdates COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMovementDisorderManager.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMovementDisorderManager.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMovementDisorderManager.h	2023-06-30 01:00:31
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMovementDisorderManager.h	2023-07-19 02:18:24
@@ -17,11 +17,11 @@
  * percentUnlikely + percentLikely = 1.0
  * Please note dyskinetic symptom measurements are designed for subjects with known presence of chorea in the arm and should not be displayed to users who do not report episodes of dyskinetic symptoms.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macos, tvos) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macos, tvos) API_UNAVAILABLE(visionos)
 #else
 API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macos, tvos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMDyskineticSymptomResult : NSObject <NSCopying, NSSecureCoding>
 
 /*!
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMPedometer.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMPedometer.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMPedometer.h	2023-06-30 01:00:32
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMPedometer.h	2023-07-19 02:22:29
@@ -20,11 +20,11 @@
  *      object contains a step count. On supported platforms it also contains
  *      distance, flights of stairs, pace, and cadence.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(8.0))
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMPedometerData : NSObject <NSSecureCoding, NSCopying>
 
 /*
@@ -181,12 +181,12 @@
  *      Typedef of block to be invoked when pedometer data is available. Error
  *      types are defined in "CMError.h".
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-typedef void (^CMPedometerHandler)(CMPedometerData * __nullable pedometerData, NSError * __nullable error) API_UNAVAILABLE(xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+typedef void (^CMPedometerHandler)(CMPedometerData * __nullable pedometerData, NSError * __nullable error) API_UNAVAILABLE(visionos);
 #else
 typedef void (^CMPedometerHandler)(CMPedometerData * __nullable pedometerData, NSError * __nullable error);
 
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  CMPedometerEventHandler
@@ -195,12 +195,12 @@
  *      Typedef of block that will be invoked when pedometer event is available.
  *      Error types are defined in "CMError.h".
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-typedef void (^CMPedometerEventHandler)(CMPedometerEvent * __nullable pedometerEvent, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(10.0), watchos(3.0)) API_UNAVAILABLE(xros);
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+typedef void (^CMPedometerEventHandler)(CMPedometerEvent * __nullable pedometerEvent, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(10.0), watchos(3.0)) API_UNAVAILABLE(visionos);
 #else
 typedef void (^CMPedometerEventHandler)(CMPedometerEvent * __nullable pedometerEvent, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(10.0), watchos(3.0));
 
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 
 /*
  *  CMPedometer
@@ -218,11 +218,11 @@
  *      updates can be stopped by calling stopPedometerUpdates.
  *
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(8.0))
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMPedometer : NSObject
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h	2023-07-19 02:18:24
@@ -17,11 +17,11 @@
  * Discussion:
  *   CMRecordedPressureData contains data for each pressure sample.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMRecordedPressureData : CMAmbientPressureData
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMSensorRecorder.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMSensorRecorder.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMSensorRecorder.h	2023-06-29 00:20:26
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMSensorRecorder.h	2023-07-19 02:18:25
@@ -23,11 +23,11 @@
  *   Due to the large number of samples that can be processed, the
  *   enumeration should not be run on the main/UI thread.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(9.0), watchos(2.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(9.0), watchos(2.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(9.0), watchos(2.0)) API_UNAVAILABLE(macos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMSensorDataList : NSObject <NSFastEnumeration>
 @end
 
@@ -40,11 +40,11 @@
  *    available for later access (up to 3 days) when the application
  *    is run at a later time.
  */
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-COREMOTION_EXPORT API_AVAILABLE(ios(9.0), watchos(2.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+COREMOTION_EXPORT API_AVAILABLE(ios(9.0), watchos(2.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(visionos)
 #else
 COREMOTION_EXPORT API_AVAILABLE(ios(9.0), watchos(2.0)) API_UNAVAILABLE(macos)
-#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
+#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION
 @interface CMSensorRecorder : NSObject
 
 /*
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h	2023-06-29 00:20:24
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h	2023-07-19 02:18:21
@@ -13,6 +13,7 @@
 #import <CoreMotion/CMAccelerometer.h>
 #import <CoreMotion/CMAltimeter.h>
 #import <CoreMotion/CMAltitude.h>
+#import <CoreMotion/CMAbsoluteAltitude.h>
 #import <CoreMotion/CMAttitude.h>
 #import <CoreMotion/CMAuthorization.h>
 #import <CoreMotion/CMAvailability.h>
Clone this wiki locally