- Notifications
You must be signed in to change notification settings - Fork 548
CoreLocation iOS xcode26.0 b1
Rolf Bjarne Kvinge edited this page Aug 11, 2025 · 3 revisions
#CoreLocation.framework https://github.com/dotnet/macios/pull/23547
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h 2025-04-23 23:39:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h 2025-05-30 01:14:58 @@ -86,11 +86,7 @@ * 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_VISION) && TARGET_OS_VISION -, visionos(1.0) -#endif -) API_UNAVAILABLE(macos); +- (void)invalidate API_AVAILABLE(ios(17.0), watchos(10.0), visionos(1.0)) API_UNAVAILABLE(macos); /* backgroundActivitySession * Discussion: diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h 2025-04-27 21:35:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h 2025-05-30 04:24:52 @@ -50,10 +50,7 @@ */ NS_REFINED_FOR_SWIFT CL_EXTERN -API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -API_UNAVAILABLE(visionos) -#endif +API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos) @interface CLBeaconIdentityCondition : CLCondition<NSCopying, NSSecureCoding> /* * UUID diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h 2025-04-27 21:35:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h 2025-05-30 04:24:52 @@ -26,9 +26,7 @@ CL_EXTERN 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_VISION) && TARGET_OS_VISION API_UNAVAILABLE(visionos) -#endif @interface CLBeaconIdentityConstraint : CLBeaconIdentityCondition<NSCopying, NSSecureCoding> @end diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h 2025-04-19 01:40:01 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h 2025-05-30 01:36:56 @@ -31,9 +31,7 @@ CL_EXTERN 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_VISION) && TARGET_OS_VISION API_UNAVAILABLE(visionos) -#endif @interface CLBeaconRegion : CLRegion @@ -44,13 +42,8 @@ * Initialize a beacon region with a UUID. Major and minor values will be wildcarded. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (instancetype)initWithUUID:(NSUUID *)uuid identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); - (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(visionos); -#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: @@ -59,13 +52,8 @@ * Initialize a beacon region with a UUID and major value. Minor value will be wildcarded. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); - (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(visionos); -#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: @@ -74,13 +62,8 @@ * Initialize a beacon region identified by a UUID, major and minor values. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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, visionos); - (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(visionos); -#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: @@ -90,11 +73,7 @@ * constraint. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (instancetype)initWithBeaconIdentityConstraint:(CLBeaconIdentityConstraint *)beaconIdentityConstraint identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -- (instancetype)initWithBeaconIdentityConstraint:(CLBeaconIdentityConstraint *)beaconIdentityConstraint identifier:(NSString *)identifier API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif /* * peripheralDataWithMeasuredPower: @@ -117,11 +96,7 @@ * Discussion: * Returns a CLBeaconIdentityConstraint describing the beacons this region monitors. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (readonly, nonatomic, copy) CLBeaconIdentityConstraint *beaconIdentityConstraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -@property (readonly, nonatomic, copy) CLBeaconIdentityConstraint *beaconIdentityConstraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif /* * UUID @@ -130,13 +105,8 @@ * UUID associated with the region. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (readonly, nonatomic, copy) NSUUID *UUID API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); @property (readonly, nonatomic, copy) NSUUID *proximityUUID API_DEPRECATED_WITH_REPLACEMENT("-UUID", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(visionos); -#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 @@ -176,11 +146,7 @@ * A single beacon within a CLBeaconRegion. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos) -#else -API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos) -#endif @interface CLBeacon : NSObject <NSCopying, NSSecureCoding> { @package @@ -194,11 +160,8 @@ * The time when this beacon was observed. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (readonly, nonatomic, copy) NSDate *timestamp API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -@property (readonly, nonatomic, copy) NSDate *timestamp API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif + /* * UUID * @@ -206,13 +169,8 @@ * UUID associated with the beacon. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (readonly, nonatomic, copy) NSUUID *UUID API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); @property (readonly, nonatomic, copy) NSUUID *proximityUUID API_DEPRECATED_WITH_REPLACEMENT("-UUID", ios(7.0, 13.0), macos(10.15, 10.15)) API_UNAVAILABLE(visionos); -#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_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h 2025-05-30 04:24:52 @@ -15,10 +15,7 @@ NS_REFINED_FOR_SWIFT CL_EXTERN -API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -API_UNAVAILABLE(visionos) -#endif +API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos) /* * @brief diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h 2025-04-27 21:35:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h 2025-05-30 04:24:52 @@ -20,10 +20,7 @@ * A circular geographic area. */ CL_EXTERN -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_VISION) && TARGET_OS_VISION -API_UNAVAILABLE(visionos) -#endif +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)) API_UNAVAILABLE(visionos) @interface CLCircularRegion : CLRegion /* diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h 2025-05-30 04:24:52 @@ -37,10 +37,7 @@ * */ NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE -API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -API_UNAVAILABLE(visionos) -#endif +API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos) @interface CLCondition : NSObject<NSSecureCoding, NSCopying> - (instancetype)init NS_UNAVAILABLE; diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h 2025-05-30 04:24:52 @@ -20,7 +20,7 @@ typedef void (^CLGeocodeCompletionHandler)(NSArray< CLPlacemark *> * __nullable placemarks, NSError * __nullable error); CL_EXTERN -API_AVAILABLE(macos(10.8), ios(5.0)) +API_DEPRECATED("Use MapKit", ios(5.0, 26.0), macos(10.8, 26.0)) @interface CLGeocoder : NSObject { @private @@ -30,32 +30,26 @@ @property (nonatomic, readonly, getter=isGeocoding) BOOL geocoding; // reverse geocode requests -- (void)reverseGeocodeLocation:(CLLocation *)location completionHandler:(CLGeocodeCompletionHandler)completionHandler; -- (void)reverseGeocodeLocation:(CLLocation *)location preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0)); +- (void)reverseGeocodeLocation:(CLLocation *)location completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKReverseGeocodingRequest", ios(5.0, 26.0), macos(10.8, 26.0)); +- (void)reverseGeocodeLocation:(CLLocation *)location preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKReverseGeocodingRequest", ios(11.0, 26.0), macos(10.13, 26.0), watchos(4.0, 26.0), tvos(11.0, 26.0)); // forward geocode requests // 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_VISION) && TARGET_OS_VISION -- (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(visionos); +- (void)geocodeAddressDictionary:(NSDictionary *)addressDictionary completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKReverseGeocodingRequest", macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0)) API_UNAVAILABLE(visionos); - (void)geocodeAddressString:(NSString *)addressString inRegion:(nullable CLRegion *)region completionHandler:(CLGeocodeCompletionHandler)completionHandler API_UNAVAILABLE(visionos); -- (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(visionos); -- (void)geocodeAddressString:(NSString *)addressString inRegionCenteredAt:(CLLocationCoordinate2D)centroid inRegionRadius:(CLLocationDistance)radius preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_AVAILABLE(visionos(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 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)geocodeAddressString:(NSString *)addressString inRegion:(nullable CLRegion *)region preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKGeocodingRequest", macos(10.13, 26.0), ios(11.0, 26.0), watchos(4.0, 26.0), tvos(11.0, 26.0)) API_UNAVAILABLE(visionos); +- (void)geocodeAddressString:(NSString *)addressString inRegionCenteredAt:(CLLocationCoordinate2D)centroid inRegionRadius:(CLLocationDistance)radius preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKGeocodingRequest", visionos(1.0, 26.0)); +- (void)geocodeAddressString:(NSString *)addressString completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKGeocodingRequest", ios(5.0, 26.0), macos(10.8, 26.0)); -- (void)cancelGeocode; +- (void)cancelGeocode API_DEPRECATED("Use MKGeocodingRequest", ios(5.0, 26.0), macos(10.8, 26.0)); @end @interface CLGeocoder (ContactsAdditions) -- (void)geocodePostalAddress:(CNPostalAddress *)postalAddress completionHandler:(CLGeocodeCompletionHandler)completionHandler API_AVAILABLE(ios(11.0), macos(10.13), watchos(4.0)) API_UNAVAILABLE(tvos); -- (void)geocodePostalAddress:(CNPostalAddress *)postalAddress preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0)) API_UNAVAILABLE(tvos); +- (void)geocodePostalAddress:(CNPostalAddress *)postalAddress completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKReverseGeocodingRequest", ios(11.0, 26.0), macos(10.13, 26.0), watchos(4.0, 26.0)) API_UNAVAILABLE(tvos); +- (void)geocodePostalAddress:(CNPostalAddress *)postalAddress preferredLocale:(nullable NSLocale *)locale completionHandler:(CLGeocodeCompletionHandler)completionHandler API_DEPRECATED("Use MKReverseGeocodingRequest", macos(10.13, 26.0), ios(11.0, 26.0), watchos(4.0, 26.0)) API_UNAVAILABLE(tvos); @end NS_ASSUME_NONNULL_END diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h 2025-05-30 04:24:52 @@ -38,11 +38,7 @@ * 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_VISION) && TARGET_OS_VISION API_AVAILABLE(macos(10.7), ios(3.0), watchos(2.0)) API_UNAVAILABLE(tvos, visionos) -#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_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h 2025-04-23 23:39:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h 2025-05-30 04:24:50 @@ -6,437 +6,4 @@ * */ -#import <Foundation/Foundation.h> -#import <CoreLocation/CLAvailability.h> - -NS_ASSUME_NONNULL_BEGIN - -/* - * CLLocationDegrees - * - * Discussion: - * Type used to represent a latitude or longitude coordinate in degrees under the WGS 84 reference - * frame. The degree can be positive (North and East) or negative (South and West). - */ -typedef double CLLocationDegrees; - -/* - * CLLocationAccuracy - * - * Discussion: - * Type used to represent a location accuracy level in meters. The lower the value in meters, the - * more physically precise the location is. A negative accuracy value indicates an invalid location. - */ -typedef double CLLocationAccuracy; - -/* - * CLLocationSpeed - * - * Discussion: - * Type used to represent the speed in meters per second. - */ -typedef double CLLocationSpeed; - -/* - * CLLocationSpeedAccuracy - * - * Discussion: - * Type used to represent a speed accuracy level in meters/second. The lower the value the more - * precise the speed is. A negative accuracy value indicates an invalid speed. - */ -typedef double CLLocationSpeedAccuracy; - -/* - * CLLocationDirection - * - * Discussion: - * Type used to represent the direction in degrees from 0 to 359.9. A negative value indicates an - * invalid direction. - */ -typedef double CLLocationDirection; - -/* - * CLLocationDirectionAccuracy - * - * Discussion: - * Type used to represent a direction accuracy in degrees. The lower the value the more precise the - * direction is. A negative accuracy value indicates an invalid direction. - */ -typedef double CLLocationDirectionAccuracy; - -/* - * CLLocationCoordinate2D - * - * Discussion: - * A structure that contains a geographical coordinate. - * - * Fields: - * latitude: - * The latitude in degrees. - * longitude: - * The longitude in degrees. - */ -struct CLLocationCoordinate2D { -CLLocationDegrees latitude; -CLLocationDegrees longitude; -}; -typedef struct CLLocationCoordinate2D CLLocationCoordinate2D; - -/* - * CLLocationDistance - * - * Discussion: - * Type used to represent a distance in meters. - */ -typedef double CLLocationDistance; - -/* - * kCLDistanceFilterNone - * - * Discussion: - * Use as the distanceFilter property for CLLocationManager. This indicates - * to the location service that no minimum movement filter is desired - ie, client will be informed - * of any movement. - */ -CL_EXTERN const CLLocationDistance kCLDistanceFilterNone; - -/* - * kCLLocationAccuracy<x> - * - * Discussion: - * Used to specify the accuracy level desired. The location service will try its best to achieve - * your desired accuracy. However, it is not guaranteed. To optimize - * power performance, be sure to specify an appropriate accuracy for your usage scenario (eg, - * use a large accuracy value when only a coarse location is needed). - */ -CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyBestForNavigation API_AVAILABLE(ios(4.0), macos(10.7)); -CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyBest; -CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyNearestTenMeters; -CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyHundredMeters; -CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyKilometer; -CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyThreeKilometers; - -/* - * kCLLocationAccuracyReduced - * - * Discussion: - * If you set your CLLocationManager's desiredAccuracy property to - * this value, locations delivered to your delegate in response to - * startUpdatingLocation or requestLocation will have their - * accuracy reduced. The locations you receive will match the - * locations your app would have received if the user had decided - * not to grant your app authorization for precise location. - */ -CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyReduced API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0), tvos(14.0)); - -/* - * CLLocationDistanceMax - * - * Discussion: - * Used to specify the maximum CLLocationDistance - */ -CL_EXTERN const CLLocationDistance CLLocationDistanceMax API_AVAILABLE(ios(6.0), macos(10.14)); - -/* - * CLTimeIntervalMax - * - * Discussion: - * Used to specify the maximum NSTimeInterval - */ -CL_EXTERN const NSTimeInterval CLTimeIntervalMax API_AVAILABLE(ios(6.0), macos(10.14)); - -/* - * kCLLocationCoordinate2DInvalid - * - * Discussion: - * Used to specify an invalid CLLocationCoordinate2D. - */ -CL_EXTERN const CLLocationCoordinate2D kCLLocationCoordinate2DInvalid API_AVAILABLE(ios(4.0), macos(10.7)); - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * CLLocationCoordinate2DIsValid - * - * Discussion: - * Returns YES if the specified coordinate is valid, NO otherwise. - */ -CL_EXTERN -BOOL CLLocationCoordinate2DIsValid(CLLocationCoordinate2D coord) API_AVAILABLE(ios(4.0), macos(10.7)); - -/* - * CLLocationCoordinate2DMake: - * - * Discussion: - * Returns a new CLLocationCoordinate2D at the given latitude and longitude - */ -CL_EXTERN -CLLocationCoordinate2D CLLocationCoordinate2DMake(CLLocationDegrees latitude, CLLocationDegrees longitude) API_AVAILABLE(ios(4.0), macos(10.7)); - -#ifdef __cplusplus -} -#endif - -/* - * CLFloor - * - * Discussion: - * Encapsulates the information about a floor. - */ -CL_EXTERN -API_AVAILABLE(ios(8.0), macos(10.15)) -@interface CLFloor : NSObject <NSCopying, NSSecureCoding> - -/* - * level - * - * Discussion: - * This is a logical representation that will vary on definition from building-to-building. - * Floor 0 will always represent the floor designated as "ground". - * This number may be negative to designate floors below the ground floor - * and positive to indicate floors above the ground floor. - * It is not intended to match any numbering that might actually be used in the building. - * It is erroneous to use as an estimate of altitude. - */ -@property(readonly, nonatomic) NSInteger level; - -@end - -/* - * CLLocationSourceInformation - * - * Discussion: - * For a CLLocation, represents information about the source of the location, including whether it came from a simulator - */ -CL_EXTERN -API_AVAILABLE(ios(15.0), watchos(8.0), tvos(15.0), macos(12.0)) -@interface CLLocationSourceInformation : NSObject <NSCopying, NSSecureCoding> - -- (instancetype)initWithSoftwareSimulationState:(BOOL)isSoftware - andExternalAccessoryState:(BOOL)isAccessory; - -/* - * isSimulatedBySoftware - * - * Discussion: - * Set to YES if this location was detected as being generated by a software simulator, such as Xcode - */ -@property(readonly, nonatomic) BOOL isSimulatedBySoftware; - -/* - * isProducedByAccessory - * - * Discussion: - * Set to YES if this location was generated from an external accessory, such as CarPlay or an MFi accessory - */ -@property(readonly, nonatomic) BOOL isProducedByAccessory; -@end - -/* - * CLLocation - * - * Discussion: - * Represents a geographical coordinate along with accuracy and timestamp information. - */ -CL_EXTERN -NS_SWIFT_SENDABLE API_AVAILABLE(macos(10.6), ios(2.0)) -@interface CLLocation : NSObject <NSCopying, NSSecureCoding> -{ -@private -id _internal; -} - -/* - * initWithLatitude:longitude: - * - * Discussion: - * Initialize with the specified latitude and longitude. - */ -- (instancetype)initWithLatitude:(CLLocationDegrees)latitude -longitude:(CLLocationDegrees)longitude; - -/* - * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp: - * - * Discussion: - * Initialize with the specified parameters. - */ -- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate -altitude:(CLLocationDistance)altitude -horizontalAccuracy:(CLLocationAccuracy)hAccuracy -verticalAccuracy:(CLLocationAccuracy)vAccuracy -timestamp:(NSDate *)timestamp; - -/* - * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp: - * - * Discussion: - * Initialize with the specified parameters. - */ -- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate - altitude:(CLLocationDistance)altitude - horizontalAccuracy:(CLLocationAccuracy)hAccuracy - verticalAccuracy:(CLLocationAccuracy)vAccuracy - course:(CLLocationDirection)course - speed:(CLLocationSpeed)speed - timestamp:(NSDate *)timestamp API_AVAILABLE(ios(4.2), macos(10.7)); - -/* - * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp: - * - * Discussion: - * Initialize with the specified parameters. - */ -- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate - altitude:(CLLocationDistance)altitude - horizontalAccuracy:(CLLocationAccuracy)hAccuracy - verticalAccuracy:(CLLocationAccuracy)vAccuracy - course:(CLLocationDirection)course - courseAccuracy:(CLLocationDirectionAccuracy)courseAccuracy - speed:(CLLocationSpeed)speed - speedAccuracy:(CLLocationSpeedAccuracy)speedAccuracy - timestamp:(NSDate *)timestamp API_AVAILABLE(ios(13.4), macos(10.15.4), watchos(6.2), tvos(13.4)); - -/* - * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:sourceInfo - * - * Discussion: - * Initialize with the specified parameters. - */ -- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate -altitude:(CLLocationDistance)altitude -horizontalAccuracy:(CLLocationAccuracy)hAccuracy -verticalAccuracy:(CLLocationAccuracy)vAccuracy -course:(CLLocationDirection)course -courseAccuracy:(CLLocationDirectionAccuracy)courseAccuracy -speed:(CLLocationSpeed)speed -speedAccuracy:(CLLocationSpeedAccuracy)speedAccuracy -timestamp:(NSDate *)timestamp -sourceInfo:(CLLocationSourceInformation*)sourceInfo API_AVAILABLE(ios(15.0), watchos(8.0), tvos(15.0), macos(12.0)); - -/* - * coordinate - * - * Discussion: - * Returns the coordinate of the current location. - */ -@property(readonly, nonatomic) CLLocationCoordinate2D coordinate; - -/* - * altitude - * - * Discussion: - * Returns the altitude of the location. Can be positive (above sea level) or negative (below sea level). - */ -@property(readonly, nonatomic) CLLocationDistance altitude; - -/* - * ellipsoidalAltitude - * - * Discussion: - * Returns the ellipsoidal altitude of the location under the WGS 84 reference frame. - * Can be positive or negative. - */ -@property(readonly, nonatomic) CLLocationDistance ellipsoidalAltitude API_AVAILABLE(ios(15), macos(12), watchos(8), tvos(15)); - -/* - * horizontalAccuracy - * - * Discussion: - * Returns the horizontal accuracy of the location. Negative if the lateral location is invalid. - */ -@property(readonly, nonatomic) CLLocationAccuracy horizontalAccuracy; - -/* - * verticalAccuracy - * - * Discussion: - * Returns the vertical accuracy of the location. Negative if the altitude is invalid. - */ -@property(readonly, nonatomic) CLLocationAccuracy verticalAccuracy; - -/* - * course - * - * Discussion: - * Returns the course of the location in degrees true North. Negative if course is invalid. - * - * Range: - * 0.0 - 359.9 degrees, 0 being true North - */ -@property(readonly, nonatomic) CLLocationDirection course API_AVAILABLE(ios(2.2), macos(10.7)); - -/* - * courseAccuracy - * - * Discussion: - * Returns the course accuracy of the location in degrees. Returns negative if course is invalid. - */ -@property(readonly, nonatomic) CLLocationDirectionAccuracy courseAccuracy API_AVAILABLE(ios(13.4), macos(10.15.4), watchos(6.2), tvos(13.4)); - -/* - * speed - * - * Discussion: - * Returns the speed of the location in m/s. Negative if speed is invalid. - */ -@property(readonly, nonatomic) CLLocationSpeed speed API_AVAILABLE(ios(2.2), macos(10.7)); - -/* - * speedAccuracy - * - * Discussion: - * Returns the speed accuracy of the location in m/s. Returns -1 if invalid. - */ -@property(readonly, nonatomic) CLLocationSpeedAccuracy speedAccuracy API_AVAILABLE(macos(10.15), ios(10.0), watchos(3.0), tvos(10.0)); - -/* - * timestamp - * - * Discussion: - * Returns the timestamp when this location was determined. - */ -@property(readonly, nonatomic, copy) NSDate *timestamp; - -/* - * floor - * - * Discussion: - * Contains information about the logical floor that you are on - * in the current building if you are inside a supported venue. - * This will be nil if the floor is unavailable. - */ -@property(readonly, nonatomic, copy, nullable) CLFloor *floor API_AVAILABLE(ios(8.0), macos(10.15)); - -/* - * sourceInformation - * - * Discussion: - * Contains information about the source of this location. - */ -@property(readonly, nonatomic, nullable) CLLocationSourceInformation *sourceInformation API_AVAILABLE(ios(15.0), watchos(8.0), tvos(15.0), macos(12.0)); - -/* - * getDistanceFrom: - * - * Discussion: - * Deprecated. Use -distanceFromLocation: instead. - */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -- (CLLocationDistance)getDistanceFrom:(const CLLocation *)location API_DEPRECATED_WITH_REPLACEMENT("-distanceFromLocation:", ios(2.0, 3.2), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#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: - * - * Discussion: - * Returns the lateral distance between two locations. - */ -- (CLLocationDistance)distanceFromLocation:(const CLLocation *)location API_AVAILABLE(ios(3.2), macos(10.6)); - -@end - -NS_ASSUME_NONNULL_END +#import <_LocationEssentials/CLLocationEssentials.h> diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h 2025-05-30 04:24:52 @@ -26,11 +26,7 @@ * Detected visits are sent to the delegate's -locationManager:didVisit: * method. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)startMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -- (void)startMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif /* * stopMonitoringVisits @@ -42,11 +38,7 @@ * Note that stopping and starting are asynchronous operations and may not * immediately reflect in delegate callback patterns. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)stopMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -- (void)stopMonitoringVisits API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif @end diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h 2025-04-19 01:40:01 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h 2025-05-30 00:57:30 @@ -61,11 +61,8 @@ // // 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_VISION) && TARGET_OS_VISION kCLAuthorizationStatusAuthorizedAlways API_AVAILABLE(macos(10.12), ios(8.0)) API_UNAVAILABLE(visionos), -#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 @@ -79,11 +76,7 @@ // // This value is deprecated or prohibited on iOS, tvOS and watchOS. // It should be used on MacOS. -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION kCLAuthorizationStatusAuthorized API_DEPRECATED("Use kCLAuthorizationStatusAuthorizedAlways", ios(2.0, 8.0)) API_AVAILABLE(macos(10.6)) API_UNAVAILABLE(watchos, tvos, visionos) = 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) { @@ -267,11 +260,7 @@ * Discussion: * Deprecated. Use +locationServicesEnabled instead. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property(readonly, nonatomic) BOOL locationServicesEnabled API_DEPRECATED_WITH_REPLACEMENT("+locationServicesEnabled", ios(2.0, 4.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#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 @@ -283,11 +272,8 @@ * * Deprecated. Set the purpose string in Info.plist using key NSLocationUsageDescription. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @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, visionos); -#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 * @@ -354,11 +340,8 @@ * See -requestWhenInUseAuthorization and -requestAlwaysAuthorization for * more details on possible authorization values. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property(assign, nonatomic) BOOL allowsBackgroundLocationUpdates API_AVAILABLE(ios(9.0), macos(10.15), watchos(4.0)) API_UNAVAILABLE(tvos, visionos); -#else -@property(assign, nonatomic) BOOL allowsBackgroundLocationUpdates API_AVAILABLE(ios(9.0), macos(10.15), watchos(4.0)) API_UNAVAILABLE(tvos); -#endif + /* * showsBackgroundLocationIndicator * @@ -393,11 +376,7 @@ * Discussion: * Deprecated. Use +headingAvailable instead. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property(readonly, nonatomic) BOOL headingAvailable API_DEPRECATED_WITH_REPLACEMENT("+headingAvailable", ios(3.0, 4.0), macos(10.15, 10.15), visionos(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 * @@ -406,11 +385,7 @@ * 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_VISION) && TARGET_OS_VISION @property(assign, nonatomic) CLLocationDegrees headingFilter API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); -#else -@property(assign, nonatomic) CLLocationDegrees headingFilter API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos); -#endif /* * headingOrientation * @@ -420,22 +395,14 @@ * CLDeviceOrientationFaceDown are ignored. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property(assign, nonatomic) CLDeviceOrientation headingOrientation API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); -#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_VISION) && TARGET_OS_VISION @property(readonly, nonatomic, copy, nullable) CLHeading *heading API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); -#else -@property(readonly, nonatomic, copy, nullable) CLHeading *heading API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos); -#endif /* * maximumRegionMonitoringDistance * @@ -444,11 +411,8 @@ * 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_VISION) && TARGET_OS_VISION @property (readonly, nonatomic) CLLocationDistance maximumRegionMonitoringDistance API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -@property (readonly, nonatomic) CLLocationDistance maximumRegionMonitoringDistance API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos); -#endif + /* * monitoredRegions * @@ -457,22 +421,15 @@ * 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_VISION) && TARGET_OS_VISION @property (readonly, nonatomic, copy) NSSet<__kindof CLRegion *> *monitoredRegions API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); -#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_VISION) && TARGET_OS_VISION @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, visionos); -#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 @@ -480,11 +437,8 @@ * Discussion: * Retrieve a set of beacon constraints for which this location manager is actively providing ranging. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (readonly, nonatomic, copy) NSSet<CLBeaconIdentityConstraint *> *rangedBeaconConstraints API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -@property (readonly, nonatomic, copy) NSSet<CLBeaconIdentityConstraint *> *rangedBeaconConstraints API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif + /* * requestWhenInUseAuthorization * @@ -558,11 +512,8 @@ * Info.plist; otherwise, this method will do nothing, as your app will be * assumed not to support Always authorization. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)requestAlwaysAuthorization API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(tvos, visionos); -#else -- (void)requestAlwaysAuthorization API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(tvos); -#endif + /* * requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion: * @@ -671,33 +622,24 @@ * Discussion: * Start updating heading. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)startUpdatingHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); -#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_VISION) && TARGET_OS_VISION - (void)stopUpdatingHeading API_AVAILABLE(ios(3.0), watchos(2.0)) API_UNAVAILABLE(tvos, macos, visionos); -#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_VISION) && TARGET_OS_VISION - (void)dismissHeadingCalibrationDisplay API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); -#else -- (void)dismissHeadingCalibrationDisplay API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos); -#endif + /* * startMonitoringSignificantLocationChanges * @@ -707,11 +649,8 @@ * location service. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)startMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -- (void)startMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos); -#endif + /* * stopMonitoringSignificantLocationChanges * @@ -719,11 +658,8 @@ * Stop monitoring significant location changes. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)stopMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -- (void)stopMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos); -#endif + /* * startMonitoringLocationPushes * @@ -731,11 +667,8 @@ * 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_VISION) && TARGET_OS_VISION - (void)startMonitoringLocationPushesWithCompletion:(void(^ _Nullable)(NSData * _Nullable token, NSError * _Nullable))completion API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos, visionos); -#else -- (void)startMonitoringLocationPushesWithCompletion:(void(^ _Nullable)(NSData * _Nullable token, NSError * _Nullable))completion API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos); -#endif + /* * stopMonitoringLocationPushes * @@ -743,11 +676,8 @@ * Stop monitoring for location pushes. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)stopMonitoringLocationPushes API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos, visionos); -#else -- (void)stopMonitoringLocationPushes API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, watchos); -#endif + /* * startMonitoringForRegion:desiredAccuracy: * @@ -764,11 +694,7 @@ * This is done asynchronously and may not be immediately reflected in monitoredRegions. */ - (void)startMonitoringForRegion:(CLRegion *)region -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION desiredAccuracy:(CLLocationAccuracy)accuracy API_DEPRECATED_WITH_REPLACEMENT("-startMonitoringForRegion:", ios(4.0, 6.0), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#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: @@ -779,11 +705,7 @@ * * This is done asynchronously and may not be immediately reflected in monitoredRegions. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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, visionos); -#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: @@ -797,11 +719,7 @@ * * This is done asynchronously and may not be immediately reflected in monitoredRegions. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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, visionos); -#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: @@ -810,11 +728,7 @@ * Asynchronously retrieve the cached state of the specified region. The state is returned to the delegate via * locationManager:didDetermineState:forRegion:. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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, visionos); -#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: @@ -822,22 +736,16 @@ * Discussion: * Start calculating ranges for beacons in the specified region. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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, visionos); -#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_VISION) && TARGET_OS_VISION - (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, visionos); -#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: * @@ -846,11 +754,7 @@ * the provided constraint. Ranging will continue until you pass * an equivalent constraint to stopRangingBeaconsSatisfyingConstraint:. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)startRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -- (void)startRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif /* * stopRangingBeaconsSatisfyingConstraint: @@ -858,11 +762,7 @@ * Discussion: * Stop an earlier beacon ranging request. See startRangingBeaconsSatisfyingConstraint:. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)stopRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -- (void)stopRangingBeaconsSatisfyingConstraint:(CLBeaconIdentityConstraint *)constraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif /* * allowDeferredLocationUpdatesUntilTraveled:timeout: @@ -898,13 +798,8 @@ * will be returned if the manager will not defer updates and the exit * criteria have not been met. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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, visionos); -#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 @@ -913,11 +808,7 @@ * Disallow deferred location updates if previously enabled. Any outstanding * updates will be sent and regular location updates will resume. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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, visionos); -#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 @@ -925,11 +816,7 @@ * Discussion: * Returns YES if the device supports deferred location updates, otherwise NO. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION + (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, visionos); -#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: diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h 2025-04-22 22:54:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h 2025-05-30 01:37:10 @@ -31,7 +31,7 @@ /* * locationManager:didUpdateToLocation:fromLocation: - * + * * Discussion: * Invoked when a new location is available. oldLocation may be nil if there is no previous location * available. @@ -41,11 +41,7 @@ */ - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION fromLocation:(CLLocation *)oldLocation API_AVAILABLE(macos(10.6)) API_DEPRECATED("Implement -locationManager:didUpdateLocations: instead", ios(2.0, 6.0)) API_UNAVAILABLE(watchos, tvos, visionos); -#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: @@ -62,29 +58,21 @@ /* * locationManager:didUpdateHeading: - * + * * Discussion: * Invoked when a new heading is available. */ - (void)locationManager:(CLLocationManager *)manager -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - didUpdateHeading:(CLHeading *)newHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); -#else - didUpdateHeading:(CLHeading *)newHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos); -#endif + didUpdateHeading:(CLHeading *)newHeading API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); /* * locationManagerShouldDisplayHeadingCalibration: * * Discussion: - * Invoked when a new heading is available. Return YES to display heading calibration info. The display + * 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_VISION) && TARGET_OS_VISION - (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos, visionos); -#else -- (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager API_AVAILABLE(ios(3.0), macos(10.15), watchos(2.0)) API_UNAVAILABLE(tvos); -#endif /* * locationManager:didDetermineState:forRegion: @@ -94,11 +82,7 @@ * a call to requestStateForRegion:. */ - (void)locationManager:(CLLocationManager *)manager -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region API_AVAILABLE(ios(7.0), macos(10.10)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region API_AVAILABLE(ios(7.0), macos(10.10)) API_UNAVAILABLE(watchos, tvos); -#endif + didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region API_AVAILABLE(ios(7.0), macos(10.10)) API_UNAVAILABLE(watchos, tvos, visionos); /* * locationManager:didRangeBeacons:inRegion: @@ -112,11 +96,8 @@ */ - (void)locationManager:(CLLocationManager *)manager didRangeBeacons:(NSArray<CLBeacon *> *)beacons -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION 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, visionos); -#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: * @@ -125,27 +106,15 @@ */ - (void)locationManager:(CLLocationManager *)manager rangingBeaconsDidFailForRegion:(CLBeaconRegion *)region -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION 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, visionos); -#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_VISION) && TARGET_OS_VISION satisfyingConstraint:(CLBeaconIdentityConstraint *)beaconConstraint API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#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_VISION) && TARGET_OS_VISION error:(NSError *)error API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else - error:(NSError *)error API_AVAILABLE(ios(13.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif /* * locationManager:didEnterRegion: @@ -155,11 +124,8 @@ * CLLocationManager instance with a non-nil delegate that implements this method. */ - (void)locationManager:(CLLocationManager *)manager -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos); -#endif + didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); + /* * locationManager:didExitRegion: * @@ -168,45 +134,34 @@ * CLLocationManager instance with a non-nil delegate that implements this method. */ - (void)locationManager:(CLLocationManager *)manager -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos); -#endif + didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); + /* * locationManager:didFailWithError: - * + * * Discussion: * Invoked when an error has occurred. Error types are defined in "CLError.h". */ - (void)locationManager:(CLLocationManager *)manager -didFailWithError:(NSError *)error; + didFailWithError:(NSError *)error; /* * locationManager:monitoringDidFailForRegion:withError: - * + * * Discussion: * Invoked when a region monitoring error has occurred. Error types are defined in "CLError.h". */ - (void)locationManager:(CLLocationManager *)manager -monitoringDidFailForRegion:(nullable CLRegion *)region -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos); -#endif +monitoringDidFailForRegion:(nullable CLRegion *)region + withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); /* * locationManager:didChangeAuthorizationStatus: - * + * * Discussion: * Invoked when the authorization status changes for this application. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (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(visionos); -#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: @@ -219,16 +174,13 @@ /* * locationManager:didStartMonitoringForRegion: - * + * * Discussion: * Invoked when a monitoring for a region started successfully. */ - (void)locationManager:(CLLocationManager *)manager -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -didStartMonitoringForRegion:(CLRegion *)region API_AVAILABLE(ios(5.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -didStartMonitoringForRegion:(CLRegion *)region API_AVAILABLE(ios(5.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos); -#endif +didStartMonitoringForRegion:(CLRegion *)region API_AVAILABLE(ios(5.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos); + /* * Discussion: * Invoked when location updates are automatically paused. @@ -256,7 +208,7 @@ * criteria are met (see CLError), otherwise error will be nil. */ - (void)locationManager:(CLLocationManager *)manager -didFinishDeferredUpdatesWithError:(nullable NSError *)error API_AVAILABLE(ios(6.0), macos(10.9)) API_UNAVAILABLE(watchos, tvos); +didFinishDeferredUpdatesWithError:(nullable NSError *)error API_AVAILABLE(ios(6.0), macos(10.9)) API_UNAVAILABLE(watchos, tvos); /* * locationManager:didVisit: @@ -266,11 +218,8 @@ * a location, if visit monitoring is currently started (possibly from a * prior launch). */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)locationManager:(CLLocationManager *)manager didVisit:(CLVisit *)visit API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#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_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h 2025-04-27 21:35:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h 2025-05-30 04:24:52 @@ -16,11 +16,7 @@ * Error returned as the domain to NSError from -[CLLocationManager startMonitoringLocationPushesWithCompletion:]. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION CL_EXTERN NSErrorDomain const CLLocationPushServiceErrorDomain API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst, visionos); -#else -CL_EXTERN NSErrorDomain const CLLocationPushServiceErrorDomain API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst); -#endif /* * CLLocationPushServiceError @@ -34,8 +30,4 @@ 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_VISION) && TARGET_OS_VISION } API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst, visionos); -#else -} API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst); -#endif diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h 2025-05-30 04:24:52 @@ -10,11 +10,7 @@ NS_ASSUME_NONNULL_BEGIN -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst) API_UNAVAILABLE(visionos) -#else -API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, macos, macCatalyst) -#endif @protocol CLLocationPushServiceExtension <NSObject> @required diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h 2025-04-22 22:54:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h 2025-05-30 01:37:11 @@ -151,11 +151,7 @@ * Return the user's location if available, otherwise returns nil. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (nonatomic, readonly) CLLocation * _Nullable location API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), visionos(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 @@ -188,11 +184,7 @@ * */ + (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_VISION) && TARGET_OS_VISION -, visionos(1.0) -#endif -) NS_REFINED_FOR_SWIFT; + handler:(void(^)(CLUpdate *_Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), visionos(1.0)) NS_REFINED_FOR_SWIFT; /* * liveUpdaterWithConfiguration:queue:handler: @@ -219,11 +211,7 @@ */ + (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_VISION) && TARGET_OS_VISION -, visionos(1.0) -#endif -) NS_REFINED_FOR_SWIFT; + handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), visionos(1.0)) NS_REFINED_FOR_SWIFT; /* * resume @@ -233,11 +221,7 @@ * was called. -resume must be called to start the flow of updates when * a CLLocationUpdater is first obtained. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)resume API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), tvos(17.0), visionos(1.0)); -#else -- (void)resume API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)); -#endif /* * pause @@ -249,11 +233,7 @@ * updates where they were left off. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)pause API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0), visionos(1.0)); -#else -- (void)pause API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)); -#endif /* * invalidate @@ -263,11 +243,7 @@ * instance after invalidation results in no-op. * */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (void)invalidate API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), visionos(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_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h 2025-04-22 22:54:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h 2025-05-30 01:14:58 @@ -24,11 +24,7 @@ */ NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE CL_EXTERN -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos) -#else -API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos) -#endif @interface CLMonitor : NSObject /* requestMonitorWithConfiguration:completion: diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h 2025-04-27 21:35:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h 2025-05-30 04:24:52 @@ -22,11 +22,7 @@ */ NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE CL_EXTERN -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos) -#else -API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos) -#endif @interface CLMonitorConfiguration : NSObject /* diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h 2025-04-22 23:02:57 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h 2025-05-30 01:14:58 @@ -20,11 +20,7 @@ CLMonitoringStateUnknown, CLMonitoringStateSatisfied, CLMonitoringStateUnsatisfied, -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION CLMonitoringStateUnmonitored API_AVAILABLE(macos(14.2), ios(17.2)) API_UNAVAILABLE(tvos, watchos, visionos), -#else -CLMonitoringStateUnmonitored API_AVAILABLE(macos(14.2), ios(17.2)) API_UNAVAILABLE(tvos, watchos), -#endif } NS_REFINED_FOR_SWIFT; /* @@ -37,11 +33,7 @@ */ NS_REFINED_FOR_SWIFT CL_EXTERN -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos) -#else -API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos) -#endif @interface CLMonitoringEvent : NSObject<NSSecureCoding> /* diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h 2025-05-30 04:24:52 @@ -28,11 +28,7 @@ */ NS_REFINED_FOR_SWIFT CL_EXTERN -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos) -#else -API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos) -#endif @interface CLMonitoringRecord : NSObject<NSSecureCoding> /* diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h 2025-04-27 21:35:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h 2025-05-30 04:24:52 @@ -24,7 +24,7 @@ * information such as the country, state, city, and street address. */ CL_EXTERN -NS_SWIFT_SENDABLE API_AVAILABLE(macos(10.8), ios(5.0)) +NS_SWIFT_SENDABLE API_DEPRECATED("Use either GeoToolbox.PlaceDescriptor or MapKit", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) @interface CLPlacemark : NSObject <NSCopying, NSSecureCoding> { @private @@ -56,11 +56,7 @@ * Discussion: * Returns the geographic region associated with the placemark. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (nonatomic, readonly, copy, nullable) CLRegion *region API_UNAVAILABLE(visionos); -#else -@property (nonatomic, readonly, copy, nullable) CLRegion *region; -#endif /* * timeZone @@ -77,11 +73,7 @@ * This dictionary can be formatted as an address using ABCreateStringWithAddressDictionary, * defined in the AddressBookUI framework. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @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(visionos); -#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. @@ -100,7 +92,7 @@ @end @interface CLPlacemark (ContactsAdditions) -@property (nonatomic, nullable, readonly) CNPostalAddress *postalAddress API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0)) API_UNAVAILABLE(tvos); +@property (nonatomic, nullable, readonly) CNPostalAddress *postalAddress API_DEPRECATED("Use either GeoToolbox.PlaceDescriptor or MapKit", macos(10.13, API_TO_BE_DEPRECATED), ios(11.0, API_TO_BE_DEPRECATED), watchos(4.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(tvos); @end NS_ASSUME_NONNULL_END diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h 2025-04-22 23:02:57 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h 2025-05-30 04:24:52 @@ -23,11 +23,7 @@ CLRegionStateUnknown, CLRegionStateInside, CLRegionStateOutside -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION } API_AVAILABLE(macos(10.10), ios(7.0)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -} API_AVAILABLE(macos(10.10), ios(7.0)) API_UNAVAILABLE(watchos, tvos); -#endif /* * CLProximity @@ -41,11 +37,7 @@ CLProximityImmediate, CLProximityNear, CLProximityFar -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION } API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos); -#else -} API_AVAILABLE(ios(7.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos); -#endif /* * CLRegion @@ -54,15 +46,11 @@ * A logical area. */ CL_EXTERN -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(macos(10.7), ios(4.0)) API_UNAVAILABLE(visionos) -#else -API_AVAILABLE(macos(10.7), ios(4.0)) -#endif @interface CLRegion : NSObject <NSCopying, NSSecureCoding> /* * initCircularRegionWithCenter:radius:identifier: - * + * * Discussion: * Initialize a region. center gives the coordinates of center of the region, while radius gives * the distance in meters between the center and the region's boundary. identifier is a description @@ -72,40 +60,31 @@ */ - (instancetype)initCircularRegionWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION identifier:(NSString *)identifier API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos); -#else - identifier:(NSString *)identifier API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos); -#endif + /* * center - * + * * Discussion: * Returns the coordinate of the center of the region. * * This method has been deprecated, please see CLCircularRegion. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (readonly, atomic) CLLocationCoordinate2D center API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos); -#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 - * + * * Discussion: * Returns the radius of the region. * * This method has been deprecated, please see CLCircularRegion. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION @property (readonly, atomic) CLLocationDistance radius API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos); -#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 - * + * * Discussion: * Returns the region's identifier. */ @@ -137,11 +116,8 @@ * * This method has been deprecated, please see CLCircularRegion. */ -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION - (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos, visionos); -#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_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h 2025-04-19 01:40:01 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h 2025-05-30 01:37:11 @@ -10,22 +10,14 @@ NS_ASSUME_NONNULL_BEGIN -API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos) +API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos) typedef NS_ENUM(NSInteger, CLServiceSessionAuthorizationRequirement) { CLServiceSessionAuthorizationRequirementNone = 0, CLServiceSessionAuthorizationRequirementWhenInUse, CLServiceSessionAuthorizationRequirementAlways API_UNAVAILABLE(tvos), } NS_REFINED_FOR_SWIFT; -API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT +API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT @interface CLServiceSessionDiagnostic : NSObject /* * authorizationDenied @@ -108,11 +100,7 @@ @end CL_EXTERN -API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT +API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT @interface CLServiceSession : NSObject - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -151,11 +139,7 @@ * after background termination. * */ -+ (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos); ++ (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos); /* sessionRequiringAuthorization:queue:handler: * Discussion: @@ -170,11 +154,7 @@ */ + (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement queue:(dispatch_queue_t)queue -handler:(void(^)(CLServiceSessionDiagnostic *diagnostic))handler API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos); +handler:(void(^)(CLServiceSessionDiagnostic *diagnostic))handler API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos); /* @@ -197,11 +177,7 @@ * */ + (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement - fullAccuracyPurposeKey:(nonnull NSString *)purposeKey API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos); + fullAccuracyPurposeKey:(nonnull NSString *)purposeKey API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos); @@ -218,11 +194,7 @@ + (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement fullAccuracyPurposeKey:(nonnull NSString *)purposeKey queue:(dispatch_queue_t)queue -handler:(void(^)(CLServiceSessionDiagnostic *diagnostic))handler API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos); +handler:(void(^)(CLServiceSessionDiagnostic *diagnostic))handler API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos); /* @@ -232,11 +204,7 @@ * Ends the session immediately. Once the session is * invalidated it cannot become active again. */ -- (void)invalidate API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -, visionos(2.0) -#endif -) API_UNAVAILABLE(macos); +- (void)invalidate API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos); @end diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h 2025-04-27 21:35:54 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h 2025-05-30 04:24:52 @@ -23,11 +23,7 @@ * during which the device was at the specified coordinate. */ CL_EXTERN -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos) -#else -API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos) -#endif @interface CLVisit : NSObject <NSSecureCoding, NSCopying> /*