-
Notifications
You must be signed in to change notification settings - Fork 549
CoreLocation iOS xcode16.0 b6
Rolf Bjarne Kvinge edited this page Aug 21, 2024
·
2 revisions
#CoreLocation.framework
diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h 2024-08-01 06:51:10
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h 2024-08-13 06:34:34
@@ -9,15 +9,16 @@
#import <Foundation/Foundation.h>
#import <CoreLocation/CLAvailability.h>
-#if (((defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && \
+#if ((defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && \
__MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_14_0) || \
(defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && \
__IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_17_0) || \
(defined(__TV_OS_VERSION_MIN_REQUIRED) && \
__TV_OS_VERSION_MIN_REQUIRED >= __TVOS_17_0) || \
(defined(__WATCH_OS_VERSION_MIN_REQUIRED) && \
- __WATCH_OS_VERSION_MIN_REQUIRED >= __WATCHOS_10_0)) && \
- !TARGET_OS_VISION)
+ __WATCH_OS_VERSION_MIN_REQUIRED >= __WATCHOS_10_0) || \
+ (defined(__VISION_OS_VERSION_MIN_REQUIRED) && \
+ __VISION_OS_VERSION_MIN_REQUIRED >= __VISIONOS_2_0)) //To prevent iPadOS apps from crashing in visionOS
#define CL_TARGET_SUPPORTS_CONDITIONS 1
#else
#define CL_TARGET_SUPPORTS_CONDITIONS 0
diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h 2024-07-31 05:40:17
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h 2024-08-08 08:17:15
@@ -24,9 +24,10 @@
*/
NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
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)
+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
@@ -70,10 +71,7 @@
*
*/
+ (void)requestMonitorWithConfiguration:(CLMonitorConfiguration *)config
- completion:(void(^)(CLMonitor *monitor))completionHandler API_AVAILABLE(ios(17.0), macos(14.0)) API_UNAVAILABLE(watchos, tvos)
-#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
-API_UNAVAILABLE(visionos)
-#endif
+ completion:(void(^)(CLMonitor *monitor))completionHandler
NS_REFINED_FOR_SWIFT NS_SWIFT_ASYNC(2);
/*
diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h 2024-08-01 06:51:09
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h 2024-08-13 06:34:34
@@ -12,11 +12,9 @@
NS_ASSUME_NONNULL_BEGIN
-#if !TARGET_OS_VISION
@class CLLocationManager;
@class CLMonitor;
@class CLMonitoringEvent;
-#endif
/*
* `CLMonitorConfiguration` describes the configuration with which a `CLMonitor`
* instance can be created.
@@ -24,9 +22,10 @@
*/
NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
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)
+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
@@ -48,7 +47,6 @@
*/
@property (readonly) dispatch_queue_t queue;
-#if !TARGET_OS_VISION
/*
* handler
*
@@ -76,7 +74,6 @@
+ (CLMonitorConfiguration *)configWithMonitorName:(NSString *)name
queue:(dispatch_queue_t)queue
eventHandler:(void(^)(CLMonitor *monitor, CLMonitoringEvent *event))eventHandler;
-#endif
@end
diff -ruN /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h 2024-07-27 08:19:26
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h 2024-08-08 08:47:04
@@ -20,7 +20,11 @@
CLMonitoringStateUnknown,
CLMonitoringStateSatisfied,
CLMonitoringStateUnsatisfied,
- CLMonitoringStateUnmonitored API_AVAILABLE(macos(14.2), ios(17.2)) API_UNAVAILABLE(tvos, watchos)
+#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;
/*
@@ -33,9 +37,10 @@
*/
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)
+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.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h
--- /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h 2024-08-01 06:51:10
+++ /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h 2024-08-13 06:34:34
@@ -28,9 +28,10 @@
*/
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)
+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>