Skip to content

CoreLocation macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#CoreLocation.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h	2021-08-06 23:47:35.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h	2021-08-03 21:52:45.000000000 -0400
@@ -130,7 +130,7 @@
  *    App will be launched and the delegate will be notified via locationManager:didDetermineState:forRegion:
  *    when the device's screen is turned on and the user is in the region. By default, this is NO.
  */
-@property (atomic, assign) BOOL notifyEntryStateOnDisplay;
+@property (nonatomic, assign) BOOL notifyEntryStateOnDisplay;
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h	2021-08-07 05:23:04.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h	2021-08-03 21:52:45.000000000 -0400
@@ -41,7 +41,7 @@
  *  Discussion:
  *    Returns the coordinate of the center of the region.
  */
-@property (readonly, atomic) CLLocationCoordinate2D center;
+@property (readonly, nonatomic) CLLocationCoordinate2D center;
 
 /*
  *  radius
@@ -49,7 +49,7 @@
  *  Discussion:
  *    Returns the radius of the region.
  */
-@property (readonly, atomic) CLLocationDistance radius;
+@property (readonly, nonatomic) CLLocationDistance radius;
 
 /*
  *  containsCoordinate:
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h	2021-08-09 03:26:45.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h	2021-08-03 21:52:45.000000000 -0400
@@ -205,36 +205,6 @@
 @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:
@@ -300,23 +270,6 @@
     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:
@@ -333,15 +286,6 @@
 @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:
@@ -411,14 +355,6 @@
 @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:
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h	2021-08-07 08:52:47.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h	2021-08-03 21:52:45.000000000 -0400
@@ -659,24 +659,6 @@
 - (void)stopMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos);
 
 /*
- *  startMonitoringLocationPushes
- *
- *  Discussion:
- *   	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.
- *
- */
-- (void)startMonitoringLocationPushesWithCompletion:(void(^ _Nullable)(NSData * _Nullable token, NSError * _Nullable))completion API_AVAILABLE(ios(15.0));
-
-/*
- *  stopMonitoringLocationPushes
- *
- *  Discussion:
- *		Stop monitoring for location pushes.
- *
- */
-- (void)stopMonitoringLocationPushes API_AVAILABLE(ios(15.0));
-
-/*
  *  startMonitoringForRegion:desiredAccuracy:
  *
  *  Discussion:
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h	2021-08-07 05:23:04.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,32 +0,0 @@
-/*
- *  CLLocationPushServiceError.h
- *  CoreLocation
- *
- *  Copyright (c) 2021 Apple Inc. All rights reserved.
- *
- */
-
-#import <Foundation/Foundation.h>
-#import <CoreLocation/CLAvailability.h>
-
-/*
- *  CLLocationPushServiceErrorDomain
- *
- *  Discussion:
- *    Error returned as the domain to NSError from -[CLLocationManager startMonitoringLocationPushesWithCompletion:].
- *
-*/
-CL_EXTERN NSErrorDomain const CLLocationPushServiceErrorDomain API_AVAILABLE(ios(15.0));
-
-/*
- *  CLLocationPushServiceError
- *
- *  Discussion:
- *    Error returned as code to NSError from -[CLLocationManager startMonitoringLocationPushesWithCompletion:].
- */
-typedef NS_ERROR_ENUM(CLLocationPushServiceErrorDomain, CLLocationPushServiceError) {
-	CLLocationPushServiceErrorUnknown = 0,
-	CLLocationPushServiceErrorMissingPushExtension = 1,	             // App is lacking a Location Push Service Extension
-	CLLocationPushServiceErrorMissingPushServerEnvironment = 2,      // App is lacking APNS environment
-	CLLocationPushServiceErrorMissingEntitlement = 3,                // App is lacking the com.apple.developer.location.push entitlement
-} API_AVAILABLE(ios(15.0));
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h	2021-08-07 05:23:05.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,28 +0,0 @@
-/*
- *  CLLocationPushServiceExtension.h
- *  CoreLocation
- *
- *  Copyright © 2021 Apple Inc. All rights reserved.
- */
-
-#import <Foundation/Foundation.h>
-#import <CoreLocation/CoreLocation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-API_AVAILABLE(ios(15.0))
-@protocol CLLocationPushServiceExtension <NSObject>
-
-@required
-
-// Call the completion handler once the location push has been handled.
-- (void)didReceiveLocationPushPayload:(NSDictionary <NSString *, id> *)payload completion:(void (^)(void))completion;
-
-@optional
-
-// Called just before this extension is terminated by the system.
-- (void)serviceExtensionWillTerminate;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h	2021-08-07 05:23:04.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h	2021-08-03 21:52:45.000000000 -0400
@@ -12,6 +12,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+@class CLRegionInternal;
+
 /*
  * CLRegionState
  *
@@ -48,6 +50,10 @@
 CL_EXTERN
 API_AVAILABLE(macos(10.7), ios(4.0))
 @interface CLRegion : NSObject <NSCopying, NSSecureCoding>
+{
+@package
+	CLRegionInternal *_internal;
+}
 /*
  *  initCircularRegionWithCenter:radius:identifier:
  *  
@@ -70,7 +76,7 @@
  *
  *    This method has been deprecated, please see CLCircularRegion.
  */
-@property (readonly, atomic) CLLocationCoordinate2D center API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
+@property (readonly, nonatomic) CLLocationCoordinate2D center API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
 
 /*
  *  radius
@@ -80,7 +86,7 @@
  *
  *    This method has been deprecated, please see CLCircularRegion.
  */
-@property (readonly, atomic) CLLocationDistance radius API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
+@property (readonly, nonatomic) CLLocationDistance radius API_DEPRECATED("Please see CLCircularRegion", ios(4.0, 7.0), macos(10.7, 10.10)) API_UNAVAILABLE(tvos);
 
 /*
  *  identifier
@@ -97,7 +103,7 @@
  *    App will be launched and the delegate will be notified via locationManager:didEnterRegion:
  *    when the user enters the region. By default, this is YES.
  */
-@property (atomic, assign) BOOL notifyOnEntry API_AVAILABLE(ios(7.0), macos(10.10));
+@property (nonatomic, assign) BOOL notifyOnEntry API_AVAILABLE(ios(7.0), macos(10.10));
 
 /*
  *  notifyOnExit
@@ -106,7 +112,7 @@
  *    App will be launched and the delegate will be notified via locationManager:didExitRegion:
  *    when the user exits the region. By default, this is YES.
  */
-@property (atomic, assign) BOOL notifyOnExit API_AVAILABLE(ios(7.0), macos(10.10));
+@property (nonatomic, assign) BOOL notifyOnExit API_AVAILABLE(ios(7.0), macos(10.10));
 
 /*
  *  containsCoordinate:
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h	2021-07-31 08:07:17.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h	2021-03-16 04:44:10.000000000 -0400
@@ -29,7 +29,5 @@
 #import <CoreLocation/CLPlacemark.h>
 #import <CoreLocation/CLGeocoder.h>
 #import <CoreLocation/CLVisit.h>
-#import <CoreLocation/CLLocationPushServiceExtension.h>
-#import <CoreLocation/CLLocationPushServiceError.h>
 
 #endif /* __CORELOCATION__ */
Clone this wiki locally