Skip to content

CoreLocation tvOS xcode15.0 b1

Manuel de la Pena edited this page Aug 30, 2023 · 3 revisions

#CoreLocation.framework https://github.com/xamarin/xamarin-macios/pull/18876

diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h	2023-05-23 02:54:25
@@ -0,0 +1,74 @@
+//
+//  CLBackgroundActivitySession.h
+//  CoreLocation
+//
+//  Created by Siraj Abidi on 02/20/23.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLAvailability.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+CL_EXTERN
+API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT
+@interface CLBackgroundActivitySession : NSObject
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*
+*  invalidate
+*
+*  Discussion:
+*     	Ends the session immediately. Any UI giving visual attestation
+*     	to this background session will also be terminated. Once the
+*     	session is invalidated it cannot become active again.
+*/
+- (void)invalidate API_AVAILABLE(ios(17.0), watchos(10.0)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+, xros(1.0)
+#endif
+) API_UNAVAILABLE(macos);
+
+/* backgroundActivitySession
+ *  Discussion:
+ *      Starts a background activity session allowing a When-In-Use
+ *      authorized app to receive location updates or monitoring events. Provides
+ *      user visibility about the background activity by displaying the Blue
+ *      StatusBar/Pill and allowing the navigation back to this app by tapping
+ *      the displayed UI.
+ *
+ *      Session creation will always yield a session object but it may or may
+ *      not be active based on the following circumstances:
+ *
+ *      - A session may only be active for an app which has effective authorization.
+ *      - A session may only be active for an app which includes Location in its
+ *        UIBackgroundModes.
+ *      - A new session may only become active while the app is foregrounded and
+ *        in direct use.
+ *      - An active session may continue when the app enters the background even
+ *        if the app stops running.
+ *      - An active session may be resumed immediately with this method when the
+ *        app is next run, even in the background.
+ *      - However, such a session which is not resumed immediately on next run
+ *        will end and will need to qualify to become active again if still desired.
+ *
+ *      When a session is active, the app remains in-use, so When-In-Use
+ *      authorization will remain effective, and both Updater and Monitor
+ *      APIs will be available.
+
+ *      Note: the app is responsible for resuming an active session with this
+ *      method immediately upon background launch if it wishes the session
+ *      to remain active.
+ *
+ *      Calling invalidate on the session will terminate it and render it
+ *      immediately inactive.
+ */
++ (instancetype)backgroundActivitySession API_AVAILABLE(ios(17.0), watchos(10.0)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+, xros(1.0)
+#endif
+) API_UNAVAILABLE(macos);
+
+@end
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h	2023-05-23 02:54:24
@@ -0,0 +1,116 @@
+/*
+ *  CLBeaconIdentityCondition.h
+ *  CoreLocation
+ *
+ *  Copyright (c) 2023 Apple Inc. All rights reserved.
+ *
+ */
+
+#pragma once
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLAvailability.h>
+#import <CoreLocation/CLCondition.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*
+ *  CLBeaconMajorValue
+ *
+ *  Discussion:
+ *    Type represents the most significant value in a beacon.
+ *
+ */
+typedef uint16_t CLBeaconMajorValue;
+
+/*
+ *  CLBeaconMinorValue
+ *
+ *  Discussion:
+ *    Type represents the least significant value in a beacon.
+ *
+ */
+typedef uint16_t CLBeaconMinorValue;
+
+
+/*
+ *  CLBeaconIdentityCondition
+ *
+ *  Discussion:
+ *    A condition that describes the identity caracteristics of a beacon.
+ *
+ *    A beacon identity is defined by UUID, major and minor values.
+ *    UUID must be specified. If only UUID is specified, the major and
+ *    minor values will be wildcarded and any beacons with the same
+ *    UUID will satisfy the condition. Similarly if only UUID and
+ *    major value are specified, the minor value will be wildcarded
+ *    and any beacons with the same UUID and major value will satisfy
+ *    the condition.
+ *
+ */
+NS_REFINED_FOR_SWIFT
+CL_EXTERN
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface CLBeaconIdentityCondition : CLCondition<NSCopying, NSSecureCoding>
+/*
+ *  UUID
+ *
+ *  Discussion:
+ *    UUID associated with the beacon.
+ *
+ */
+@property (readonly, nonatomic, copy) NSUUID *UUID;
+
+/*
+ *  major
+ *
+ *  Discussion:
+ *    Most significant value associated with the beacon.
+ *
+ */
+@property (readonly, nonatomic, copy, nullable) NSNumber *major NS_REFINED_FOR_SWIFT;
+
+/*
+ *  minor
+ *
+ *  Discussion:
+ *    Least significant value associated with the beacon.
+ *
+ */
+@property (readonly, nonatomic, copy, nullable) NSNumber *minor NS_REFINED_FOR_SWIFT;
+
+/*
+ *  initWithUUID:
+ *
+ *  Discussion:
+ *    Initialize a beacon identity condition with a UUID. Major and
+ *    minor values will be wildcarded.
+ *
+ */
+- (instancetype)initWithUUID:(NSUUID *)uuid;
+
+/*
+ *  initWithUUID:major:
+ *
+ *  Discussion:
+ *    Initialize a beacon identity condition with a UUID and major
+ *    value.  Minor value will be wildcarded.
+ *
+ */
+- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major;
+
+/*
+ *  initWithUUID:major:minor:
+ *
+ *  Discussion:
+ *    Initialize a beacon identity condition with a UUID, major, and
+ *    minor values.
+ *
+ */
+- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h	2023-03-09 19:15:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h	2023-05-23 02:54:24
@@ -2,109 +2,35 @@
  *  CLBeaconIdentityConstraint.h
  *  CoreLocation
  *
- *  Copyright (c) 2019 Apple Inc. All rights reserved.
+ *  Copyright (c) 2023 Apple Inc. All rights reserved.
  *
  */
 
+#pragma once
+
 #import <Foundation/Foundation.h>
 #import <CoreLocation/CLAvailability.h>
+#import <CoreLocation/CLCondition.h>
+#import <CoreLocation/CLBeaconIdentityCondition.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
 /*
- *  CLBeaconMajorValue
+ * @brief
+ *		CLBeaconIdentityConstraint
  *
- *  Discussion:
- *    Type represents the most significant value in a beacon.
- *
+ * @discussion
+ *		Refer to \ref CLBeaconIdentityCondition for more details.
  */
-typedef uint16_t CLBeaconMajorValue;
 
-/*
- *  CLBeaconMinorValue
- *
- *  Discussion:
- *    Type represents the least significant value in a beacon.
- *
- */
-typedef uint16_t CLBeaconMinorValue;
-
-
-/*
- *  CLBeaconIdentityConstraint
- *
- *  Discussion:
- *    A constraint that describes the identity caracteristics of a beacon.
- *
- *    A beacon identity is defined by UUID, major and minor values.
- *    UUID must be specified. If only UUID is specified, the major and
- *    minor values will be wildcarded and any beacons with the same
- *    UUID will satisfy the constraint. Similarly if only UUID and
- *    major value are specified, the minor value will be wildcarded
- *    and any beacons with the same UUID and major value will satisfy
- *    the constraint.
- *
- */
 CL_EXTERN
-API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos)
-@interface CLBeaconIdentityConstraint : NSObject <NSCopying, NSSecureCoding>
+API_DEPRECATED_WITH_REPLACEMENT("Use CLBeaconIdentityCondition", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED))
+API_UNAVAILABLE(watchos, tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface CLBeaconIdentityConstraint : CLBeaconIdentityCondition<NSCopying, NSSecureCoding>
 
-/*
- *  UUID
- *
- *  Discussion:
- *    UUID associated with the beacon.
- *
- */
-@property (readonly, nonatomic, copy) NSUUID *UUID;
-
-/*
- *  major
- *
- *  Discussion:
- *    Most significant value associated with the beacon.
- *
- */
-@property (readonly, nonatomic, copy, nullable) NSNumber *major;
-
-/*
- *  minor
- *
- *  Discussion:
- *    Least significant value associated with the beacon.
- *
- */
-@property (readonly, nonatomic, copy, nullable) NSNumber *minor;
-
-/*
- *  initWithUUID:
- *
- *  Discussion:
- *    Initialize a beacon identity constraint with a UUID. Major and
- *    minor values will be wildcarded.
- *
- */
-- (instancetype)initWithUUID:(NSUUID *)uuid;
-
-/*
- *  initWithUUID:major:
- *
- *  Discussion:
- *    Initialize a beacon identity constraint with a UUID and major
- *    value.  Minor value will be wildcarded.
- *
- */
-- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major;
-
-/*
- *  initWithUUID:major:minor:
- *
- *  Discussion:
- *    Initialize a beacon identity constraint with a UUID, major, and
- *    minor values.
- *
- */
-- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor;
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h	2023-03-09 19:15:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h	2023-05-23 02:54:24
@@ -29,7 +29,12 @@
  *
  */
 CL_EXTERN
-API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos)
+API_DEPRECATED_WITH_REPLACEMENT("Use CLBeaconIdentityCondition", macos(10.15, API_TO_BE_DEPRECATED), ios(7.0, API_TO_BE_DEPRECATED))
+API_UNAVAILABLE(watchos, tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+
 @interface CLBeaconRegion : CLRegion
 
 /*
@@ -39,8 +44,13 @@
  *    Initialize a beacon region with a UUID. Major and minor values will be wildcarded.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (instancetype)initWithUUID:(NSUUID *)uuid identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+- (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID identifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("-initWithUUID:identifier:", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(xros);
+#else
 - (instancetype)initWithUUID:(NSUUID *)uuid identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
 - (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID identifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("-initWithUUID:identifier:", ios(7.0, 13.0), macos(10.15, 10.15));
+#endif
 
 /*
  *  initWithUUID:major:identifier:
@@ -49,8 +59,13 @@
  *    Initialize a beacon region with a UUID and major value. Minor value will be wildcarded.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+- (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major identifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("-initWithUUID:major:identifier:", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(xros);
+#else
 - (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
 - (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major identifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("-initWithUUID:major:identifier:", ios(7.0, 13.0), macos(10.15, 10.15));
+#endif
 
 /*
  *  initWithUUID:major:minor:identifier:
@@ -59,8 +74,13 @@
  *    Initialize a beacon region identified by a UUID, major and minor values.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+- (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor identifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("-initWithUUID:major:identifier:", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(xros);
+#else
 - (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
 - (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor identifier:(NSString *)identifier API_DEPRECATED_WITH_REPLACEMENT("-initWithUUID:major:identifier:", ios(7.0, 13.0), macos(10.15, 10.15));
+#endif
 
 /*
  *  initWithBeaconIdentityConstraint:identifier:
@@ -70,7 +90,11 @@
  *    constraint.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (instancetype)initWithBeaconIdentityConstraint:(CLBeaconIdentityConstraint *)beaconIdentityConstraint identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (instancetype)initWithBeaconIdentityConstraint:(CLBeaconIdentityConstraint *)beaconIdentityConstraint identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  peripheralDataWithMeasuredPower:
@@ -93,7 +117,11 @@
  *  Discussion:
  *    Returns a CLBeaconIdentityConstraint describing the beacons this region monitors.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic, copy) CLBeaconIdentityConstraint *beaconIdentityConstraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property (readonly, nonatomic, copy) CLBeaconIdentityConstraint *beaconIdentityConstraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  UUID
@@ -102,8 +130,13 @@
  *    UUID associated with the region.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic, copy) NSUUID *UUID API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+@property (readonly, nonatomic, copy) NSUUID *proximityUUID API_DEPRECATED_WITH_REPLACEMENT("-UUID", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(xros);
+#else
 @property (readonly, nonatomic, copy) NSUUID *UUID API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
 @property (readonly, nonatomic, copy) NSUUID *proximityUUID API_DEPRECATED_WITH_REPLACEMENT("-UUID", ios(7.0, 13.0), macos(10.15, 10.15));
+#endif
 
 /*
  *  major
@@ -143,7 +176,11 @@
  *    A single beacon within a CLBeaconRegion.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros)
+#else
 API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos)
+#endif
 @interface CLBeacon : NSObject <NSCopying, NSSecureCoding>
 {
 @package
@@ -157,8 +194,11 @@
  *    The time when this beacon was observed.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic, copy) NSDate *timestamp API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property (readonly, nonatomic, copy) NSDate *timestamp API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  UUID
  *
@@ -166,8 +206,13 @@
  *    UUID associated with the beacon.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic, copy) NSUUID *UUID API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+@property (readonly, nonatomic, copy) NSUUID *proximityUUID API_DEPRECATED_WITH_REPLACEMENT("-UUID", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(xros);
+#else
 @property (readonly, nonatomic, copy) NSUUID *UUID API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
 @property (readonly, nonatomic, copy) NSUUID *proximityUUID API_DEPRECATED_WITH_REPLACEMENT("-UUID", ios(7.0, 13.0), macos(10.15, 10.15));
+#endif
 
 /*
  *  major
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h	2023-05-23 02:54:25
@@ -0,0 +1,62 @@
+//
+//  CLCircularGeographicCondition.h
+//  CoreLocation
+//
+//  Copyright (c) 2023 Apple Inc. All rights reserved.
+//
+
+#pragma once
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLLocation.h>
+#import <CoreLocation/CLCondition.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+NS_REFINED_FOR_SWIFT
+CL_EXTERN
+API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+
+/*
+ * @brief
+ *		CLCircularGeographicCondition
+ *
+   @discussion
+ *		Circular geographic condition defined by center(lat, lon) and radius
+ */
+@interface CLCircularGeographicCondition : CLCondition<NSSecureCoding>
+
+/*
+ * @brief
+ *		center
+ *
+   @discussion
+ *		The center of the circular geographic condition
+ */
+@property (readonly) CLLocationCoordinate2D center;
+
+/*
+ * @brief
+ *		radius
+ *
+ * @discussion
+ *		The radius of the circular geographic condition
+ */
+@property (readonly) CLLocationDistance radius;
+
+/*
+ * @brief
+ *		initWithCenter:radius
+ *
+ * @discussion
+ *		Returns an instance of circular geographic condition initialized
+ *		with given center and radius
+ */
+-(instancetype) initWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h	2023-03-09 19:15:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h	2023-05-23 02:54:24
@@ -20,7 +20,10 @@
  *    A circular geographic area.
  */
 CL_EXTERN
-API_AVAILABLE(macos(10.10), ios(7.0))
+API_DEPRECATED_WITH_REPLACEMENT("Use CLCircularGeographicCondition", macos(10.10, API_TO_BE_DEPRECATED), ios(7.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED))
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
 @interface CLCircularRegion : CLRegion
 
 /*
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h	2023-05-23 02:54:25
@@ -0,0 +1,50 @@
+//
+//  CLCondition.h
+//  CLCondition
+//
+//  Copyright (c) 2021 Apple Inc. All rights reserved.
+//
+#pragma once
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLAvailability.h>
+
+#if (((defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && \
+			 __MAC_OS_X_VERSION_MIN_REQUIRED  >=    __MAC_14_0) || \
+	(defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && \
+			 __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_17_0) || \
+	(defined(__TV_OS_VERSION_MIN_REQUIRED) && \
+			 __TV_OS_VERSION_MIN_REQUIRED     >=   __TVOS_17_0) || \
+	(defined(__WATCH_OS_VERSION_MIN_REQUIRED) && \
+			 __WATCH_OS_VERSION_MIN_REQUIRED  >= __WATCHOS_10_0)) && \
+	!TARGET_OS_XR)
+#define CL_TARGET_SUPPORTS_CONDITIONS 1
+#else
+#define CL_TARGET_SUPPORTS_CONDITIONS 0
+#endif
+
+NS_ASSUME_NONNULL_BEGIN
+
+CL_EXTERN
+
+/*	Discussion:
+ *		Abstract base class from which all other conditions are derived from.
+ *
+ *	Note:
+ *		Do not derive from this class xor its subclasses. Passing instances
+ *		custom conditions will result in unintended behavior.
+ *
+ */
+NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface CLCondition : NSObject<NSSecureCoding, NSCopying>
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h	2023-03-09 19:15:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h	2023-05-23 02:54:25
@@ -37,11 +37,17 @@
 // geocodeAddressDictionary:completionHandler: takes an address dictionary as defined by the AddressBook framework.
 // You can obtain an address dictionary from an ABPerson by retrieving the kABPersonAddressProperty property.
 // Alternately, one can be constructed using the kABPersonAddress* keys defined in <AddressBook/ABPerson.h>.
-
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)geocodeAddressDictionary:(NSDictionary *)addressDictionary completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use -geocodePostalAddress:completionHandler:", macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0)) API_UNAVAILABLE(xros);
+- (void)geocodeAddressString:(NSString *)addressString inRegion:(nullable CLRegion *)region completionHandler:(CLGeocodeCompletionHandler)completionHandler API_UNAVAILABLE(xros);
+- (void)geocodeAddressString:(NSString *)addressString inRegion:(nullable CLRegion *)region preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0)) API_UNAVAILABLE(xros);
+- (void)geocodeAddressString:(NSString *)addressString inRegionCenteredAt:(CLLocationCoordinate2D)centroid inRegionRadius:(CLLocationDistance)radius preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_AVAILABLE(xros(1.0));
+#else
 - (void)geocodeAddressDictionary:(NSDictionary *)addressDictionary completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use -geocodePostalAddress:completionHandler:", macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0));
-- (void)geocodeAddressString:(NSString *)addressString completionHandler:(CLGeocodeCompletionHandler)completionHandler;
 - (void)geocodeAddressString:(NSString *)addressString inRegion:(nullable CLRegion *)region completionHandler:(CLGeocodeCompletionHandler)completionHandler;
 - (void)geocodeAddressString:(NSString *)addressString inRegion:(nullable CLRegion *)region preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
+#endif
+- (void)geocodeAddressString:(NSString *)addressString completionHandler:(CLGeocodeCompletionHandler)completionHandler;
 
 - (void)cancelGeocode;
 
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h	2023-03-09 19:15:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h	2023-05-23 02:54:24
@@ -38,7 +38,11 @@
  *    Represents a vector pointing to magnetic North constructed from axis component values x, y, and z. An accuracy of the heading calculation is also provided along with timestamp information.
  */
 CL_EXTERN
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_AVAILABLE(macos(10.7), ios(3.0), watchos(2.0)) API_UNAVAILABLE(tvos, xros)
+#else
 API_AVAILABLE(macos(10.7), ios(3.0), watchos(2.0)) API_UNAVAILABLE(tvos)
+#endif
 @interface CLHeading : NSObject <NSCopying, NSSecureCoding>
 {
 @private
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h	2023-03-09 19:18:19
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h	2023-05-19 21:53:12
@@ -241,7 +241,7 @@
  *    Represents a geographical coordinate along with accuracy and timestamp information.
  */
 CL_EXTERN
-API_AVAILABLE(macos(10.6), ios(2.0))
+NS_SWIFT_SENDABLE API_AVAILABLE(macos(10.6), ios(2.0))
 @interface CLLocation : NSObject <NSCopying, NSSecureCoding>
 {
 @private
@@ -424,8 +424,11 @@
  *  Discussion:
  *    Deprecated. Use -distanceFromLocation: instead.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (CLLocationDistance)getDistanceFrom:(const CLLocation *)location API_DEPRECATED_WITH_REPLACEMENT("-distanceFromLocation:", ios(2.0, 3.2), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (CLLocationDistance)getDistanceFrom:(const CLLocation *)location API_DEPRECATED_WITH_REPLACEMENT("-distanceFromLocation:", ios(2.0, 3.2), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  distanceFromLocation:
  *
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h	2023-03-09 19:15:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h	2023-05-23 02:54:25
@@ -26,7 +26,11 @@
  *    Detected visits are sent to the delegate's -locationManager:didVisit:
  *    method.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)startMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)startMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  stopMonitoringVisits
@@ -38,7 +42,11 @@
  *    Note that stopping and starting are asynchronous operations and may not
  *    immediately reflect in delegate callback patterns.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)stopMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)stopMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 @end
 
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h	2023-03-09 19:18:19
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h	2023-05-23 02:54:24
@@ -10,7 +10,11 @@
 #import <CoreLocation/CLAvailability.h>
 #import <CoreLocation/CLLocation.h>
 #import <CoreLocation/CLRegion.h>
+#import <CoreLocation/CLLocationUpdater.h>
+#import <CoreLocation/CLMonitor.h>
+#import <CoreLocation/CLMonitoringEvent.h>
 
+
 NS_ASSUME_NONNULL_BEGIN
 
 /*
@@ -57,8 +61,11 @@
 	//
 	// This value should be used on iOS, tvOS and watchOS.  It is available on
 	// MacOS, but kCLAuthorizationStatusAuthorized is synonymous and preferred.
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+	kCLAuthorizationStatusAuthorizedAlways API_AVAILABLE(macos(10.12), ios(8.0)) API_UNAVAILABLE(xros),
+#else
 	kCLAuthorizationStatusAuthorizedAlways API_AVAILABLE(macos(10.12), ios(8.0)),
-
+#endif
 	// User has granted authorization to use their location only while
 	// they are using your app.  Note: You can reflect the user's
 	// continued engagement with your app using
@@ -72,7 +79,11 @@
 	//
 	// This value is deprecated or prohibited on iOS, tvOS and watchOS.
 	// It should be used on MacOS.
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+	kCLAuthorizationStatusAuthorized API_DEPRECATED("Use kCLAuthorizationStatusAuthorizedAlways", ios(2.0, 8.0)) API_AVAILABLE(macos(10.6)) API_UNAVAILABLE(watchos, tvos, xros) = kCLAuthorizationStatusAuthorizedAlways
+#else
 	kCLAuthorizationStatusAuthorized API_DEPRECATED("Use kCLAuthorizationStatusAuthorizedAlways", ios(2.0, 8.0)) API_AVAILABLE(macos(10.6)) API_UNAVAILABLE(watchos, tvos) = kCLAuthorizationStatusAuthorizedAlways
+#endif
 };
 
 typedef NS_ENUM(NSInteger, CLAccuracyAuthorization) {
@@ -126,6 +137,8 @@
 @class CLHeading;
 @class CLBeaconRegion;
 @class CLBeaconIdentityConstraint;
+@class CLMonitorConfiguration;
+@class CLBackgroundActivitySession;
 @protocol CLLocationManagerDelegate;
 
 /*
@@ -254,7 +267,11 @@
  *  Discussion:
  *      Deprecated. Use +locationServicesEnabled instead.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property(readonly, nonatomic) BOOL locationServicesEnabled API_DEPRECATED_WITH_REPLACEMENT("+locationServicesEnabled", ios(2.0, 4.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property(readonly, nonatomic) BOOL locationServicesEnabled API_DEPRECATED_WITH_REPLACEMENT("+locationServicesEnabled", ios(2.0, 4.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  purpose
@@ -266,8 +283,11 @@
  *
  *      Deprecated.  Set the purpose string in Info.plist using key NSLocationUsageDescription.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property(copy, nonatomic, nullable) NSString *purpose API_DEPRECATED("Set the purpose string in Info.plist using key NSLocationUsageDescription", ios(3.2, 6.0), macos(10.7, 11.0)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property(copy, nonatomic, nullable) NSString *purpose API_DEPRECATED("Set the purpose string in Info.plist using key NSLocationUsageDescription", ios(3.2, 6.0), macos(10.7, 11.0)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *	activityType
  *
@@ -334,8 +354,11 @@
  *      See -requestWhenInUseAuthorization and -requestAlwaysAuthorization for
  *      more details on possible authorization values.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property(assign, nonatomic) BOOL allowsBackgroundLocationUpdates API_AVAILABLE(ios(9.0), macos(10.15), watchos(4.0)) API_UNAVAILABLE(tvos, xros);
+#else
 @property(assign, nonatomic) BOOL allowsBackgroundLocationUpdates API_AVAILABLE(ios(9.0), macos(10.15), watchos(4.0)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  showsBackgroundLocationIndicator
  *
@@ -370,8 +393,11 @@
  *  Discussion:
  *      Deprecated. Use +headingAvailable instead.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property(readonly, nonatomic) BOOL headingAvailable API_DEPRECATED_WITH_REPLACEMENT("+headingAvailable", ios(3.0, 4.0), macos(10.15, 10.15), xros(1.0, 1.0)) API_UNAVAILABLE(watchos, tvos);
+#else
 @property(readonly, nonatomic) BOOL headingAvailable API_DEPRECATED_WITH_REPLACEMENT("+headingAvailable", ios(3.0, 4.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  headingFilter
  *  
@@ -380,8 +406,11 @@
  *      be notified of updates less than the stated filter value. Pass in kCLHeadingFilterNone to be
  *      notified of all updates. By default, 1 degree is used.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property(assign, nonatomic) CLLocationDegrees headingFilter API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, xros);
+#else
 @property(assign, nonatomic) CLLocationDegrees headingFilter API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  headingOrientation
  *  
@@ -391,16 +420,22 @@
  *      CLDeviceOrientationFaceDown are ignored.
  *      
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property(assign, nonatomic) CLDeviceOrientation headingOrientation API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, xros);
+#else
 @property(assign, nonatomic) CLDeviceOrientation headingOrientation API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  heading
  *  
  *  Discussion:
  *      Returns the latest heading update received, or nil if none is available.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property(readonly, nonatomic, copy, nullable) CLHeading *heading API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, xros);
+#else
 @property(readonly, nonatomic, copy, nullable) CLHeading *heading API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  maximumRegionMonitoringDistance
  *  
@@ -409,8 +444,11 @@
  *       Attempts to register a region larger than this will generate a kCLErrorRegionMonitoringFailure.
  *       This value may vary based on the hardware features of the device, as well as on dynamically changing resource constraints.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic) CLLocationDistance maximumRegionMonitoringDistance API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property (readonly, nonatomic) CLLocationDistance maximumRegionMonitoringDistance API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  monitoredRegions
  *  
@@ -419,15 +457,22 @@
  *       has been instructed to monitor a region, during this or previous launches of your application, it will
  *       be present in this set.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic, copy) NSSet<__kindof CLRegion *> *monitoredRegions API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property (readonly, nonatomic, copy) NSSet<__kindof CLRegion *> *monitoredRegions API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  rangedRegions
  *
  *  Discussion:
  *       Retrieve a set of objects representing the regions for which this location manager is actively providing ranging.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic, copy) NSSet<__kindof CLRegion *> *rangedRegions API_DEPRECATED("Use -rangedBeaconConstraints", ios(7.0, 13.0), macos(10.15, 10.15), macCatalyst(14.0, 14.0)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property (readonly, nonatomic, copy) NSSet<__kindof CLRegion *> *rangedRegions API_DEPRECATED("Use -rangedBeaconConstraints", ios(7.0, 13.0), macos(10.15, 10.15), macCatalyst(14.0, 14.0)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  rangedBeaconConstraints
@@ -435,8 +480,11 @@
  *  Discussion:
  *      Retrieve a set of beacon constraints for which this location manager is actively providing ranging.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, nonatomic, copy) NSSet<CLBeaconIdentityConstraint *> *rangedBeaconConstraints API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 @property (readonly, nonatomic, copy) NSSet<CLBeaconIdentityConstraint *> *rangedBeaconConstraints API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  requestWhenInUseAuthorization
  *
@@ -510,8 +558,11 @@
  *      Info.plist; otherwise, this method will do nothing, as your app will be
  *      assumed not to support Always authorization.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)requestAlwaysAuthorization API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(tvos, xros);
+#else
 - (void)requestAlwaysAuthorization API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion:
  *
@@ -620,24 +671,33 @@
  *  Discussion:
  *      Start updating heading.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)startUpdatingHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, xros);
+#else
 - (void)startUpdatingHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  stopUpdatingHeading
  *
  *  Discussion:
  *      Stop updating heading.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)stopUpdatingHeading API_AVAILABLE(ios(3.0), watchos(2.0)) API_UNAVAILABLE(tvos, macos, xros);
+#else
 - (void)stopUpdatingHeading API_AVAILABLE(ios(3.0), watchos(2.0)) API_UNAVAILABLE(tvos, macos);
-
+#endif
 /*
  *  dismissHeadingCalibrationDisplay
  *  
  *  Discussion:
  *      Dismiss the heading calibration immediately.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)dismissHeadingCalibrationDisplay API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, xros);
+#else
 - (void)dismissHeadingCalibrationDisplay API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  startMonitoringSignificantLocationChanges
  *
@@ -647,8 +707,11 @@
  *      location service.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)startMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)startMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  stopMonitoringSignificantLocationChanges
  *
@@ -656,8 +719,11 @@
  *      Stop monitoring significant location changes.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)stopMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)stopMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  startMonitoringLocationPushes
  *
@@ -665,8 +731,11 @@
  *   	Request an Apple Push Notification service token to be used to send location pushes. Incoming location pushes launch the app's Location Push Service Extension. Requires the com.apple.developer.location.push entitlement.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)startMonitoringLocationPushesWithCompletion:(void(^ _Nullable)(NSData * _Nullable token, NSError * _Nullable))completion API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos, xros);
+#else
 - (void)startMonitoringLocationPushesWithCompletion:(void(^ _Nullable)(NSData * _Nullable token, NSError * _Nullable))completion API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos);
-
+#endif
 /*
  *  stopMonitoringLocationPushes
  *
@@ -674,8 +743,11 @@
  *		Stop monitoring for location pushes.
  *
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)stopMonitoringLocationPushes API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos, xros);
+#else
 - (void)stopMonitoringLocationPushes API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos);
-
+#endif
 /*
  *  startMonitoringForRegion:desiredAccuracy:
  *
@@ -692,7 +764,11 @@
  *      This is done asynchronously and may not be immediately reflected in monitoredRegions.
  */
 - (void)startMonitoringForRegion:(CLRegion *)region
-                 desiredAccuracy:(CLLocationAccuracy)accuracy API_DEPRECATED_WITH_REPLACEMENT("-startMonitoringForRegion:", ios(4.0, 6.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+				 desiredAccuracy:(CLLocationAccuracy)accuracy API_DEPRECATED_WITH_REPLACEMENT("-startMonitoringForRegion:", ios(4.0, 6.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
+desiredAccuracy:(CLLocationAccuracy)accuracy API_DEPRECATED_WITH_REPLACEMENT("-startMonitoringForRegion:", ios(4.0, 6.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  stopMonitoringForRegion:
@@ -703,7 +779,11 @@
  *
  *      This is done asynchronously and may not be immediately reflected in monitoredRegions.
  */
-- (void)stopMonitoringForRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)stopMonitoringForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to start or stop monitoring constraint", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
+- (void)stopMonitoringForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to start or stop monitoring constraint", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  startMonitoringForRegion:
@@ -717,7 +797,11 @@
  *
  *      This is done asynchronously and may not be immediately reflected in monitoredRegions.
  */
-- (void)startMonitoringForRegion:(CLRegion *)region API_AVAILABLE(ios(5.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)startMonitoringForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to start or stop monitoring constraint", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
+- (void)startMonitoringForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to start or stop monitoring constraint", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  requestStateForRegion:
@@ -726,7 +810,11 @@
  *      Asynchronously retrieve the cached state of the specified region. The state is returned to the delegate via
  *      locationManager:didDetermineState:forRegion:.
  */
-- (void)requestStateForRegion:(CLRegion *)region API_AVAILABLE(ios(7.0), macos(10.10)) API_UNAVAILABLE(watchos, tvos);
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)requestStateForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to track and query the state for monitored constraints", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
+- (void)requestStateForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to track and query the state for monitored constraints", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  startRangingBeaconsInRegion:
@@ -734,16 +822,22 @@
  *  Discussion:
  *      Start calculating ranges for beacons in the specified region.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)startRangingBeaconsInRegion:(CLBeaconRegion *)region API_DEPRECATED("Use -startRangingBeaconsSatisfyingConstraint:", ios(7.0, 13.0), macos(11.0, 11.0), macCatalyst(14.0, 14.0)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)startRangingBeaconsInRegion:(CLBeaconRegion *)region API_DEPRECATED("Use -startRangingBeaconsSatisfyingConstraint:", ios(7.0, 13.0), macos(11.0, 11.0), macCatalyst(14.0, 14.0)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  stopRangingBeaconsInRegion:
  *
  *  Discussion:
  *      Stop calculating ranges for the specified region.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)stopRangingBeaconsInRegion:(CLBeaconRegion *)region API_DEPRECATED("Use -stopRangingBeaconsSatisfyingConstraint:", ios(7.0, 13.0), macos(11.0, 11.0), macCatalyst(14.0, 14.0)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)stopRangingBeaconsInRegion:(CLBeaconRegion *)region API_DEPRECATED("Use -stopRangingBeaconsSatisfyingConstraint:", ios(7.0, 13.0), macos(11.0, 11.0), macCatalyst(14.0, 14.0)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  startRangingBeaconsSatisfyingConstraint:
  *
@@ -752,7 +846,11 @@
  *      the provided constraint.  Ranging will continue until you pass
  *      an equivalent constraint to stopRangingBeaconsSatisfyingConstraint:.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)startRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)startRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  stopRangingBeaconsSatisfyingConstraint:
@@ -760,7 +858,11 @@
  *  Discussion:
  *      Stop an earlier beacon ranging request.  See startRangingBeaconsSatisfyingConstraint:.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)stopRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)stopRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *	allowDeferredLocationUpdatesUntilTraveled:timeout:
@@ -796,8 +898,13 @@
  *		will be returned if the manager will not defer updates and the exit
  *		criteria have not been met.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
 - (void)allowDeferredLocationUpdatesUntilTraveled:(CLLocationDistance)distance
-                                          timeout:(NSTimeInterval)timeout API_DEPRECATED("You can remove calls to this method", ios(6.0, 13.0), macos(10.15, 10.15))  API_UNAVAILABLE(watchos, tvos);
+										  timeout:(NSTimeInterval)timeout API_DEPRECATED("You can remove calls to this method", ios(6.0, 13.0), macos(10.15, 10.15))  API_UNAVAILABLE(watchos, tvos, xros);
+#else
+- (void)allowDeferredLocationUpdatesUntilTraveled:(CLLocationDistance)distance
+										  timeout:(NSTimeInterval)timeout API_DEPRECATED("You can remove calls to this method", ios(6.0, 13.0), macos(10.15, 10.15))  API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *	disallowDeferredLocationUpdates
@@ -806,7 +913,11 @@
  *		Disallow deferred location updates if previously enabled. Any outstanding
  *		updates will be sent and regular location updates will resume.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)disallowDeferredLocationUpdates API_DEPRECATED("You can remove calls to this method", ios(6.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)disallowDeferredLocationUpdates API_DEPRECATED("You can remove calls to this method", ios(6.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  deferredLocationUpdatesAvailable
@@ -814,7 +925,11 @@
  *  Discussion:
  *      Returns YES if the device supports deferred location updates, otherwise NO.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
++ (BOOL)deferredLocationUpdatesAvailable API_DEPRECATED("You can remove calls to this method", ios(6.0, 13.0), macos(10.9, 10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 + (BOOL)deferredLocationUpdatesAvailable API_DEPRECATED("You can remove calls to this method", ios(6.0, 13.0), macos(10.9, 10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  requestHistoricalLocationsWithPurposeKey:sampleCount:completionHandler:
@@ -857,7 +972,6 @@
 	NS_SWIFT_ASYNC_NAME(historicalLocations(purposeKey:sampleCount:))
 #endif
 	;
-
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h	2023-03-09 19:22:44
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h	2023-05-31 23:45:38
@@ -41,7 +41,11 @@
  */
 - (void)locationManager:(CLLocationManager *)manager
 	didUpdateToLocation:(CLLocation *)newLocation
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+		   fromLocation:(CLLocation *)oldLocation API_AVAILABLE(macos(10.6)) API_DEPRECATED("Implement -locationManager:didUpdateLocations: instead", ios(2.0, 6.0)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 		   fromLocation:(CLLocation *)oldLocation API_AVAILABLE(macos(10.6)) API_DEPRECATED("Implement -locationManager:didUpdateLocations: instead", ios(2.0, 6.0)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  locationManager:didUpdateLocations:
@@ -63,7 +67,11 @@
  *    Invoked when a new heading is available.
  */
 - (void)locationManager:(CLLocationManager *)manager
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+       didUpdateHeading:(CLHeading *)newHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, xros);
+#else
        didUpdateHeading:(CLHeading *)newHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos);
+#endif
 
 /*
  *  locationManagerShouldDisplayHeadingCalibration:
@@ -72,7 +80,11 @@
  *    Invoked when a new heading is available. Return YES to display heading calibration info. The display 
  *    will remain until heading is calibrated, unless dismissed early via dismissHeadingCalibrationDisplay.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager  API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, xros);
+#else
 - (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager  API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos);
+#endif
 
 /*
  *  locationManager:didDetermineState:forRegion:
@@ -82,7 +94,11 @@
  *    a call to requestStateForRegion:.
  */
 - (void)locationManager:(CLLocationManager *)manager
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+	didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region API_AVAILABLE(ios(7.0), macos(10.10)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 	didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region API_AVAILABLE(ios(7.0), macos(10.10)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  locationManager:didRangeBeacons:inRegion:
@@ -96,8 +112,11 @@
  */
 - (void)locationManager:(CLLocationManager *)manager
 		didRangeBeacons:(NSArray<CLBeacon *> *)beacons
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+			   inRegion:(CLBeaconRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use locationManager:didRangeBeacons:satisfyingConstraint:", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 			   inRegion:(CLBeaconRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use locationManager:didRangeBeacons:satisfyingConstraint:", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  locationManager:rangingBeaconsDidFailForRegion:withError:
  *
@@ -106,15 +125,27 @@
  */
 - (void)locationManager:(CLLocationManager *)manager
 rangingBeaconsDidFailForRegion:(CLBeaconRegion *)region
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+			  withError:(NSError *)error API_DEPRECATED_WITH_REPLACEMENT("Use locationManager:didFailRangingBeaconsForConstraint:error:", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 			  withError:(NSError *)error API_DEPRECATED_WITH_REPLACEMENT("Use locationManager:didFailRangingBeaconsForConstraint:error:", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 - (void)locationManager:(CLLocationManager *)manager
 		didRangeBeacons:(NSArray<CLBeacon *> *)beacons
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+   satisfyingConstraint:(CLBeaconIdentityConstraint *)beaconConstraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
    satisfyingConstraint:(CLBeaconIdentityConstraint *)beaconConstraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 - (void)locationManager:(CLLocationManager *)manager
 didFailRangingBeaconsForConstraint:(CLBeaconIdentityConstraint *)beaconConstraint
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+				  error:(NSError *)error API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 				  error:(NSError *)error API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  locationManager:didEnterRegion:
@@ -124,8 +155,11 @@
  *    CLLocationManager instance with a non-nil delegate that implements this method.
  */
 - (void)locationManager:(CLLocationManager *)manager
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+	didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 	didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  locationManager:didExitRegion:
  *
@@ -134,8 +168,11 @@
  *    CLLocationManager instance with a non-nil delegate that implements this method.
  */
 - (void)locationManager:(CLLocationManager *)manager
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+	didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 	didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  locationManager:didFailWithError:
  *  
@@ -153,7 +190,11 @@
  */
 - (void)locationManager:(CLLocationManager *)manager
 	monitoringDidFailForRegion:(nullable CLRegion *)region
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+	withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 	withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  locationManager:didChangeAuthorizationStatus:
@@ -161,7 +202,11 @@
  *  Discussion:
  *    Invoked when the authorization status changes for this application.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status API_DEPRECATED_WITH_REPLACEMENT("-locationManagerDidChangeAuthorization:", ios(4.2, 14.0), macos(10.7, 11.0), watchos(1.0, 7.0), tvos(9.0, 14.0)) API_UNAVAILABLE(xros);
+#else
 - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status API_DEPRECATED_WITH_REPLACEMENT("-locationManagerDidChangeAuthorization:", ios(4.2, 14.0), macos(10.7, 11.0), watchos(1.0, 7.0), tvos(9.0, 14.0));
+#endif
 
 /*
  *  locationManagerDidChangeAuthorization:
@@ -179,8 +224,11 @@
  *    Invoked when a monitoring for a region started successfully.
  */
 - (void)locationManager:(CLLocationManager *)manager
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+	didStartMonitoringForRegion:(CLRegion *)region API_AVAILABLE(ios(5.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 	didStartMonitoringForRegion:(CLRegion *)region API_AVAILABLE(ios(5.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 /*
  *  Discussion:
  *    Invoked when location updates are automatically paused.
@@ -218,8 +266,11 @@
  *    a location, if visit monitoring is currently started (possibly from a
  *    prior launch).
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)locationManager:(CLLocationManager *)manager didVisit:(CLVisit *)visit API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 - (void)locationManager:(CLLocationManager *)manager didVisit:(CLVisit *)visit API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
-
+#endif
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h	2023-03-09 19:15:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h	2023-05-23 02:54:24
@@ -16,7 +16,11 @@
  *    Error returned as the domain to NSError from -[CLLocationManager startMonitoringLocationPushesWithCompletion:].
  *
 */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+CL_EXTERN NSErrorDomain const CLLocationPushServiceErrorDomain API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst, xros);
+#else
 CL_EXTERN NSErrorDomain const CLLocationPushServiceErrorDomain API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst);
+#endif
 
 /*
  *  CLLocationPushServiceError
@@ -30,4 +34,8 @@
 	CLLocationPushServiceErrorMissingPushServerEnvironment = 2,      // App is lacking APNS environment
 	CLLocationPushServiceErrorMissingEntitlement = 3,                // App is lacking the com.apple.developer.location.push entitlement
 	CLLocationPushServiceErrorUnsupportedPlatform = 4,				 // App is running on an unsupported platform
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+} API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst, xros);
+#else
 } API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst);
+#endif
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h	2023-03-09 19:15:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h	2023-05-23 02:54:25
@@ -10,7 +10,11 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst) API_UNAVAILABLE(xros)
+#else
 API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst)
+#endif
 @protocol CLLocationPushServiceExtension <NSObject>
 
 @required
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h	2023-05-31 23:45:38
@@ -0,0 +1,280 @@
+//
+//  CLLocationUpdater.h
+//  CoreLocation
+//
+//  Created by Cindy Clarissa on 11/29/22.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLAvailability.h>
+
+NS_ASSUME_NONNULL_BEGIN
+@class CLLocation;
+struct CLLocationCoordinate2D;
+
+/*
+ *  CLLiveUpdateConfiguration
+ *
+ *  Discussion:
+ *	    Specifies the types of locations being generated by
+ *	    -[CLLocationUpdater liveUpdaterWithConfiguration:queue:handler:] or
+ *	    -[CLLocationUpdater liveUpdaterWithQueue:handler:]
+ */
+API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
+typedef NS_ENUM(NSInteger, CLLiveUpdateConfiguration) {
+	CLLiveUpdateConfigurationDefault = 0,             // Default configuration
+	CLLiveUpdateConfigurationAutomotiveNavigation,    // Configuration tuned for automotive navigation use cases
+	CLLiveUpdateConfigurationOtherNavigation,         // Configuration tuned for other navigation use cases
+	CLLiveUpdateConfigurationFitness,                 // Configuration tuned for fitness use cases
+	CLLiveUpdateConfigurationAirborne,                // Configuration tuned for airborne use cases
+} NS_REFINED_FOR_SWIFT;
+
+/*
+ *  CLUpdate
+ *
+ *  Discussion:
+ *		Contains a possible location and related metadata. Delivered by
+ *		CLLocationUpdater to its handler block.
+ */
+CL_EXTERN
+API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)) NS_REFINED_FOR_SWIFT
+@interface CLUpdate : NSObject
+
+/*
+ *	isStationary
+ *
+ *  Discussion:
+ *		YES if the user is stationary, otherwise NO. Updates may be
+ *		suspended until the user next moves, or their location becomes
+ *		unknown.
+ *
+ */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly) BOOL isStationary API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), xros(1.0));
+#else
+@property (readonly) BOOL isStationary API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
+#endif
+
+/*
+ *	location
+ *
+ *  Discussion:
+ *		Return the user's location if available, otherwise returns nil.
+ *
+ */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (nonatomic, readonly) CLLocation * _Nullable location API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), xros(1.0));
+#else
+@property (nonatomic, readonly) CLLocation * _Nullable location API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
+#endif
+
+@end
+
+
+CL_EXTERN
+API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)) NS_REFINED_FOR_SWIFT
+@interface CLLocationUpdater : NSObject
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*
+ *  liveUpdaterWithQueue:handler:
+ *
+ *  Discussion:
+ *      Returns a new CLLocationUpdater with the given queue and handler,
+ *      using the default live update configuration.
+ *
+ *      queue: Specifies the queue to which the handler is submitted with each
+ *          available update.
+ *      handler: Specifies the block that will be invoked with each update.
+ *
+ *      CoreLocation will ensure the app has a few seconds of runtime each
+ *      location update it is authorized to receive. If the app is suspended,
+ *      crashes, or exits for any reason while updates are flowing,
+ *      it will be launched for the next update, which it may receive by
+ *      calling this method again to express resumed interest.
+ *      If this method is not called again, or the resulting updater
+ *      is not resumed again, then CoreLocation will automatically stop the flow
+ *      of updates.
+ *
+ */
++ (nullable instancetype)liveUpdaterWithQueue:(dispatch_queue_t)queue
+									  handler:(void(^)(CLUpdate *_Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+, xros(1.0)
+#endif
+) NS_REFINED_FOR_SWIFT;
+
+/*
+ *  liveUpdaterWithConfiguration:queue:handler:
+ *
+ *  Discussion:
+ *      Returns a new CLLocationUpdater with the given a CLLiveUpdateConfiguration,
+ *      queue and handler.
+ *
+ *      configuration: Specifies the live update configuration which should
+ *          be used.
+ *      queue: Specifies the queue to which the handler is submitted with each
+ *          available update.
+ *      handler: Specifies the block that will be invoked with each update.
+ *
+ *      CoreLocation will ensure the app has a few seconds of runtime each
+ *      location update it is authorized to receive. If the app is suspended,
+ *      crashes, or exits for any reason while updates are flowing,
+ *      it will be launched for the next update, which it may receive by
+ *      calling this method again to express resumed interest.
+ *      If this method is not called again, or the resulting updater
+ *      is not resumed again, then CoreLocation will automatically stop the flow
+ *      of updates.
+ *
+ */
++ (nullable instancetype)liveUpdaterWithConfiguration:(CLLiveUpdateConfiguration)configuration
+												queue:(dispatch_queue_t)queue
+											  handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+, xros(1.0)
+#endif
+) NS_REFINED_FOR_SWIFT;
+																										
+/*
+ *  historicalUpdaterWithDateInterval:sampleCount:queue:handler:
+ *
+ *  Discussion:
+ *      Returns a new CLLocationUpdater with the requested query configuration,
+ *      queue, and handler.
+ *
+ *      interestInterval:
+ *          Specifies the date interval of interest to retrieve
+ *          updates. Date interval should be non-nil. Start date should
+ *          be before end date, and end date should be before or equal to
+ *          +[NSDate now].
+ *      sampleCount:
+ *          Specifies the maximum number of locations to return,
+ *          downsampling if necessary. Sample count must be greater than 0.
+ *          Set sampleCount to a large number to retrieve all available locations
+ *          without downsampling.
+ *      queue: Specifies the queue to which the handler is submitted with each
+ *          available update.
+ *      handler: Specifies the block that will be invoked with each update.
+ *
+ *      CoreLocation will ensure the app has a few seconds of runtime each
+ *      location update it is authorized to receive. If the app is suspended,
+ *      crashes, or exits for any reason while updates are flowing,
+ *      it will be launched for the next update, which it may receive by
+ *      calling this method again to express resumed interest.
+ *      If this method is not called again, or the resulting updater
+ *      is not resumed again, then CoreLocation will automatically stop the flow
+ *      of updates.
+ *
+ *
+ *      Care should be taken to change dateInterval and sampleCount to avoid
+ *      re-delivery of updates, or re-delivery should be handled, if a query
+ *      is started again after such an interruption.
+ *
+ *      Once all the historical updates are delivered to the completion block it will
+ *      finally be invoked by passing a nil to signify end of operation.
+ *
+ */
++ (nullable instancetype)historicalUpdaterWithDateInterval:(NSDateInterval *)interestInterval
+											   sampleCount:(int)maxCount
+													 queue:(dispatch_queue_t)queue
+												   handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+, xros(1.0)
+#endif
+) NS_REFINED_FOR_SWIFT;
+
+/*
+ *  historicalUpdaterWithCenter:radius:dateInterval:sampleCount:queue:handler:
+ *
+ *  Discussion:
+ *      Returns a new CLLocationUpdater with the requested query configuration,
+ *      queue, and handler.
+ *
+ *      center: Specifies the coordinate of the center point of location.
+ *      radius: Specifies the radius in meters.
+ *      interestInterval: Specifies the date interval of interest to retrieve
+ *          updates. Date interval should be valid: start date should be before end
+ *          date, and end date should be before or equal to +[NSDate now]. Set
+ *          interestInterval to nil to receive all locations.
+ *      sampleCount: Specifies the maximum number of locations to return,
+ *          downsampling if necessary. Sample count must be greater than 0.
+ *          Set sampleCount to a large number to retrieve all available locations
+ *          without downsampling.
+ *      queue: Specifies the queue to which the handler is submitted with each
+ *          available update.
+ *      handler: Specifies the block that will be invoked with each update.
+ *
+ *      CoreLocation will ensure the app has a few seconds of runtime each
+ *      location update it is authorized to receive. If the app is suspended,
+ *      crashes, or exits for any reason while updates are flowing,
+ *      it will be launched for the next update, which it may receive by
+ *      calling this method again to express resumed interest.
+ *      If this method is not called again, or the resulting updater
+ *      is not resumed again, then CoreLocation will automatically stop the flow
+ *      of updates.
+ *
+ *          Care should be taken to change dateInterval and sampleCount to avoid
+ *          re-delivery of updates, or re-delivery should be handled, if a query
+ *          is started again after such an interruption.
+ *
+ *          Once all the historical updates are delivered to the completion block it will
+ *          finally be invoked by passing a nil to signify end of operation.
+ */
++ (nullable instancetype)historicalUpdaterWithCenter:(CLLocationCoordinate2D)center
+											  radius:(double)radius
+										dateInterval:(NSDateInterval * _Nullable)interestInterval
+										 sampleCount:(int)maxCount
+											   queue:(dispatch_queue_t)queue
+											 handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+NS_REFINED_FOR_SWIFT;
+
+/*
+*  resume
+*
+*  Discussion:
+*    	Start delivery of Updates to the handler, or resume from where -pause
+*	  	was called. -resume must be called to start the flow of updates when
+*		a CLLocationUpdater is first obtained.
+*/
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)resume API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), tvos(17.0), xros(1.0));
+#else
+- (void)resume API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
+#endif
+
+/*
+*  pause
+*
+*  Discussion:
+*      	Pause delivery of Updates to the handler, if they are started. If
+*      	invoked from the configured queue, guarantees no further Update until
+*      	-resume is called again. -resume can be used to restart location
+*		updates where they were left off.
+*
+*/
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)pause API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), xros(1.0));
+#else
+- (void)pause API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
+#endif
+
+/*
+*  invalidate
+*
+*  Discussion:
+*      	Invalidate CLLocationUpdater instance. Any further message to CLLocationUpdater
+*      	instance after invalidation results in no-op.
+*
+*/
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (void)invalidate API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), xros(1.0));
+#else
+- (void)invalidate API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
+#endif
+
+@end
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h	2023-05-23 02:54:24
@@ -0,0 +1,147 @@
+//
+//  CLMonitor.h
+//  CoreLocation
+//
+//  Copyright (c) 2021 Apple Inc. All rights reserved.
+//
+
+#ifndef CLMonitor_h
+#define CLMonitor_h
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLAvailability.h>
+#import <CoreLocation/CLCondition.h>
+#import <CoreLocation/CLMonitoringRecord.h>
+#import <CoreLocation/CLMonitorConfiguration.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+/*
+ *	`CLMonitor` is a name scoped instance which monitors all the conditions
+ *	added to it
+ *
+ */
+NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+CL_EXTERN
+API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface CLMonitor : NSObject
+
+/* requestMonitorWithConfiguration:completion:
+ * TODO: rdar://105089713 ([CLMonitor] API Review for vending CLMonitor and new state)
+ * 	Discussion:
+ *		Creates or opens, a `CLMonitor` instance with the given name.
+ *      The completion handler will be called with the instance of `CLMonitor`
+ *		on the queue that was set in the configuration instance.
+ *
+ *		Conditions can be added for monitoring or removed from monitoring by
+ *		this instance of `CLMonitor`. When an event occurs, the passed in block
+ *		would be called on the specified queue. The callback handler is invoked
+ *		with this instance of `CLMonitor` and an instance of `CLMonitoringEvent`
+ *		containing the identifier under which the condition is monitored,
+ *		an optional instance of `CLCondition` containing specifics, the new
+ *		state, and the timestamp of the event.
+ *
+ *		All interaction directly with the returned `CLMonitor` must occur on
+ *		the specified queue. Failing to do so will result in undefined behavior.
+ *
+ *		Conditions added to an instance of `CLMonitor` will persist until
+ *		removed from monitoring. However, CoreLocation will stop monitoring
+ *		conditions if an event is pending for them, but no `CLMonitor` has been
+ *		configured to receive it.
+ *
+ *		The conditions are stored in an opaque file at
+ *		~/Library/CoreLocation/BundleId (or Process name)/`name`.monitor.
+ *		Note that for containerized Apps this will be inside the Data container.
+ *		Apps need to observe when protected data becomes available using
+ *		`UIApplicationProtectedDataDidBecomeAvailable` before creating a
+ *		`CLMonitor` instance. Persistence of Conditions enables an app to query
+ *		efficiently for conditions currently being monitored and the last
+ *		event delivered for each.
+ *
+ *		The app can choose to initialize the monitoring state for a condition.
+ *		By default, it is set to `CLMonitoringStateUnknown`.
+ *
+ *		- Note: Only one instance of `CLMonitor` with a given name may be
+ *				opened at a time. Attempting to open another instance with the
+ *				same name will return `false`.
+ *
+ */
++ (void)requestMonitorWithConfiguration:(CLMonitorConfiguration *)config
+							 completion:(void(^)(CLMonitor *monitor))completionHandler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+NS_REFINED_FOR_SWIFT NS_SWIFT_ASYNC(2);
+
+/*
+ *	name
+ *
+ *	Discussion:
+ *		Name associated with the `CLMonitor` instance.
+ *
+ */
+@property (nonatomic, readonly) NSString *name;
+
+/*
+ *	monitoredIdentifiers
+ *
+ *	Discussion:
+ *		Array containing all the identifiers with each identifying a condition
+ *		that is monitored.
+ *
+ */
+@property (nonatomic, readonly) NSArray<NSString *> *monitoredIdentifiers;
+
+/*
+ *	addConditionForMonitoring:identifier:
+ *
+ *	Discussion:
+ *		Adds `condition` to be monitored under `identifier`.
+ *		It initializes the monitoring state to `CLMonitoringStateUnknown`.
+ *
+ */
+- (void)addConditionForMonitoring:(CLCondition *)condition
+					   identifier:(NSString *)identifier;
+
+/*
+ *	addConditionForMonitoring:identifier:assumedState
+ *
+ *	Discussion:
+ *		Adds `condition` to be monitored under `identifier`.
+ *		It initializes the monitoring state with the given value.
+ *
+ */
+- (void)addConditionForMonitoring:(CLCondition *)condition
+					   identifier:(NSString *)identifier
+					 assumedState:(CLMonitoringState)state;
+
+/*
+ *	removeConditionFromMonitoringWithIdentifier:
+ *
+ *	Discussion:
+ *		Removes the monitoring record with given `identifier` from monitoring
+ *
+ */
+- (void)removeConditionFromMonitoringWithIdentifier:(NSString *)identifier;
+
+/*
+ *	monitoringRecordForIdentifier:
+ *
+ *	Discussion:
+ *		Gets the monitoring record containing the condition and last
+ *		monitoring event, if applicable
+ *
+ */
+- (nullable CLMonitoringRecord *)monitoringRecordForIdentifier:(NSString *)identifier;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
+#endif /* CLMonitor_h */
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h	2023-05-23 02:54:24
@@ -0,0 +1,84 @@
+//
+//  CLMonitorConfiguration.h
+//  CoreLocation
+//
+//  Created by NivashRaaja on 1/26/23.
+//
+
+#pragma once
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLAvailability.h>
+#import <CoreLocation/CLCondition.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#if  !TARGET_OS_XR
+@class CLLocationManager;
+@class CLMonitor;
+@class CLMonitoringEvent;
+#endif
+/*
+ *		`CLMonitorConfiguration` describes the configuration with which a `CLMonitor`
+ *		instance can be created.
+ *
+ */
+NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
+CL_EXTERN
+API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface CLMonitorConfiguration : NSObject
+
+/*
+ *	name
+ *
+ *	Discussion:
+ *		Name of the Monitor instance to create or open.
+ *
+ */
+@property (readonly) NSString *name;
+
+/*
+ *	queue
+ *
+ *	Discussion:
+ *		Dispatch queue to which the instance of `CLMonitor` will be bound.
+ *
+ */
+@property (readonly) dispatch_queue_t queue;
+
+#if !TARGET_OS_XR
+/*
+ *	handler
+ *
+ *	Discussion:
+ *		Handler block which will be used as the event handler for the `CLMonitor` instance.
+ *
+ */
+@property (readonly, nonatomic) void(^eventHandler)(CLMonitor *monitor, CLMonitoringEvent *event);
+
+/*
+ *		Returns a configuration object which may be used to create or open
+ *		an instance of `CLMonitor`.
+ *
+ *		name	: 	Identifies the instance of `CLMonitor` which should be created or opened.
+ *					`name` should contain only alpha-numeric characters and cannot start with "_".
+ *		queue	: 	Dispatch queue which should be used to synchronize access to the CLMonitor instance.
+ *					All interactions related to the `CLMonitor` instance should be performed on this queue.
+ *					Events generated by the `CLMonitor` instance will be delivered to the handler on this queue.
+ *					Accessing `CLMonitor` outside of the queue will result in undefined behavior.
+ *		handler	: 	The callback handler to be submitted to `queue`
+ *					for each event.
+ *
+ */
+
++ (CLMonitorConfiguration *)configWithMonitorName:(NSString *)name
+											queue:(dispatch_queue_t)queue
+									 eventHandler:(void(^)(CLMonitor *monitor, CLMonitoringEvent *event))eventHandler;
+#endif
+
+@end
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h	2023-05-23 02:54:24
@@ -0,0 +1,84 @@
+//
+//  CLMonitoringEvent.h
+//  CoreLocation
+//
+//  Copyright (c) 2021 Apple Inc. All rights reserved.
+
+#ifndef CLMonitoringEvent_h
+#define CLMonitoringEvent_h
+
+#import <CoreLocation/CLAvailability.h>
+
+@class CLCondition;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*
+ * 	Enum representing the current state of the condition.
+ */
+typedef NS_ENUM(NSUInteger, CLMonitoringState) {
+	CLMonitoringStateUnknown,
+	CLMonitoringStateSatisfied,
+	CLMonitoringStateUnsatisfied,
+} NS_REFINED_FOR_SWIFT;
+
+/*
+ *	Event object that would be passed to the callback handler upon an event
+ *
+ *	Discussion:
+ *		Instances of `CLMonitoringEvent` contain detailed information about
+ *		an event in the monitoring of a `CLCondition` by a `CLMonitor`.
+ *
+ */
+NS_REFINED_FOR_SWIFT
+CL_EXTERN
+API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface CLMonitoringEvent : NSObject<NSSecureCoding>
+
+/*
+ *	identifier
+ *
+ *	Discussion:
+ *		An `NSString` representing the identifier under which the condition
+ *		was added for monitoring.
+ *
+ */
+@property (readonly, strong) NSString *identifier;
+
+/*
+ *	refinement
+ *
+ *	Discussion:
+ *		An optional instance of CLCondition that represents the most specific
+ *		condition to which this event could apply. The type of the refinement
+ *		condition depends onthe monitored condition itself.
+ *
+ */
+@property (readonly, strong) __kindof CLCondition * _Nullable refinement;
+
+/*
+ * 	state
+ *
+ *	Discussion:
+ *		State of the condition at the time of the event.
+ */
+@property (readonly, nonatomic) CLMonitoringState state;
+
+/*
+ *	date
+ *
+ *	Discussion:
+ *		An instance of NSDate indicating the time of the event.
+ */
+@property (readonly, strong) NSDate *date;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
+#endif /* CLMonitoringEvent_h */
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h	2023-05-23 02:54:25
@@ -0,0 +1,60 @@
+//
+//  CLMonitoringRecord.h
+//  CoreLocation
+//
+//  Copyright (c) 2021 Apple Inc. All rights reserved.
+//
+#pragma once
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CLAvailability.h>
+#import <CoreLocation/CLCondition.h>
+#import <CoreLocation/CLMonitoringEvent.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*
+ *	`CLMonitoringRecord` represents a condition and its associated information
+ *	as monitored by a `CLMonitor`
+ *
+ *	Discussion:
+ *		`CLMonitoringRecord` contains a condition and last event that affected it.
+ *
+ *		When handling a new `CLMonitoringEvent`, the `CLMonitoringRecord`
+ *		available for the indicated identifier from the `CLMonitor` will contain
+ *		the prior event. The `CLMonitoringRecord` will be updated with the new
+ *		event once the handling is complete.
+ *
+ */
+NS_REFINED_FOR_SWIFT
+CL_EXTERN
+API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface CLMonitoringRecord : NSObject<NSSecureCoding>
+
+/*
+ *	condition
+ *
+ *	Discussion:
+ *		The condition for which events are being monitored.
+ */
+@property (readonly, strong) __kindof CLCondition *condition;
+
+/*
+ *	lastEvent
+ *
+ *	Discussion:
+ *		Contains the specifics of the last event such as state, date and the
+ *		specifics of the condition, if applicable.
+ *
+ */
+@property (readonly, strong) CLMonitoringEvent *lastEvent;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h	2023-03-09 19:15:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h	2023-05-23 02:54:25
@@ -56,7 +56,11 @@
  *  Discussion:
  *    Returns the geographic region associated with the placemark.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (nonatomic, readonly, copy, nullable) CLRegion *region API_UNAVAILABLE(xros);
+#else
 @property (nonatomic, readonly, copy, nullable) CLRegion *region;
+#endif
 
 /*
  *  timeZone
@@ -73,7 +77,11 @@
  *    This dictionary can be formatted as an address using ABCreateStringWithAddressDictionary,
  *    defined in the AddressBookUI framework.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (nonatomic, readonly, copy, nullable) NSDictionary *addressDictionary API_DEPRECATED("Use @properties", macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0)) API_UNAVAILABLE(xros);
+#else
 @property (nonatomic, readonly, copy, nullable) NSDictionary *addressDictionary API_DEPRECATED("Use @properties", macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0));
+#endif
 
 // address dictionary properties
 @property (nonatomic, readonly, copy, nullable) NSString *name; // eg. Apple Inc.
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h	2023-03-09 19:15:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h	2023-05-19 21:53:12
@@ -23,7 +23,11 @@
 	CLRegionStateUnknown,
 	CLRegionStateInside,
 	CLRegionStateOutside
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+} API_AVAILABLE(macos(10.10), ios(7.0)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 } API_AVAILABLE(macos(10.10), ios(7.0)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  * CLProximity
@@ -37,7 +41,11 @@
 	CLProximityImmediate,
 	CLProximityNear,
 	CLProximityFar
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+} API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros);
+#else
 } API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos);
+#endif
 
 /*
  *  CLRegion
@@ -46,7 +54,11 @@
  *    A logical area.
  */
 CL_EXTERN
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_AVAILABLE(macos(10.7), ios(4.0)) API_UNAVAILABLE(xros)
+#else
 API_AVAILABLE(macos(10.7), ios(4.0))
+#endif
 @interface CLRegion : NSObject <NSCopying, NSSecureCoding>
 /*
  *  initCircularRegionWithCenter:radius:identifier:
@@ -60,8 +72,11 @@
  */
 - (instancetype)initCircularRegionWithCenter:(CLLocationCoordinate2D)center
 									  radius:(CLLocationDistance)radius
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+								  identifier:(NSString *)identifier API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, xros);
+#else
 								  identifier:(NSString *)identifier API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  center
  *  
@@ -70,8 +85,11 @@
  *
  *    This method has been deprecated, please see CLCircularRegion.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, atomic) CLLocationCoordinate2D center API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, xros);
+#else
 @property (readonly, atomic) CLLocationCoordinate2D center API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  radius
  *  
@@ -80,8 +98,11 @@
  *
  *    This method has been deprecated, please see CLCircularRegion.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+@property (readonly, atomic) CLLocationDistance radius API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, xros);
+#else
 @property (readonly, atomic) CLLocationDistance radius API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
-
+#endif
 /*
  *  identifier
  *  
@@ -116,8 +137,11 @@
  *
  *    This method has been deprecated, please see CLCircularRegion.
  */
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, xros);
+#else
 - (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
-
+#endif
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h	2023-03-09 19:15:10
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h	2023-05-23 02:54:24
@@ -23,7 +23,11 @@
  *    during which the device was at the specified coordinate.
  */
 CL_EXTERN
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, xros)
+#else
 API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos)
+#endif
 @interface CLVisit : NSObject <NSSecureCoding, NSCopying>
 
 /*
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h	2023-03-06 23:45:41
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h	2023-05-23 02:54:22
@@ -18,9 +18,12 @@
 #import <CoreLocation/CLErrorDomain.h>
 #import <CoreLocation/CLError.h>
 #import <CoreLocation/CLRegion.h>
+#import <CoreLocation/CLCondition.h>
 #import <CoreLocation/CLCircularRegion.h>
+#import <CoreLocation/CLCircularGeographicCondition.h>
 #import <CoreLocation/CLBeaconRegion.h>
 #import <CoreLocation/CLBeaconIdentityConstraint.h>
+#import <CoreLocation/CLBeaconIdentityCondition.h>
 #import <CoreLocation/CLHeading.h>
 #import <CoreLocation/CLLocation.h>
 #import <CoreLocation/CLLocationManager.h>
@@ -31,5 +34,11 @@
 #import <CoreLocation/CLVisit.h>
 #import <CoreLocation/CLLocationPushServiceExtension.h>
 #import <CoreLocation/CLLocationPushServiceError.h>
+#import <CoreLocation/CLLocationUpdater.h>
+#import <CoreLocation/CLMonitoringEvent.h>
+#import <CoreLocation/CLMonitoringRecord.h>
+#import <CoreLocation/CLMonitorConfiguration.h>
+#import <CoreLocation/CLMonitor.h>
+#import <CoreLocation/CLBackgroundActivitySession.h>
 
 #endif /* __CORELOCATION__ */
Clone this wiki locally