Skip to content

OSLog macOS xcode13.0 rc

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

#OSLog.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Entry.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Entry.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Entry.h	2021-08-06 23:45:25.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Entry.h	2021-08-03 21:52:05.000000000 -0400
@@ -65,7 +65,7 @@
     OSLogEntryStoreCategoryLongTerm14,
     OSLogEntryStoreCategoryLongTerm30,
 }
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(OSLogEntry.StoreCategory);
 
 /*!
@@ -74,7 +74,7 @@
  * @abstract
  * A single entry from the unified logging system.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogEntry : NSObject
 
@@ -84,8 +84,7 @@
  * @abstract
  * The fully formatted message for the entry.
  */
-@property (nonatomic, readonly) NSString *composedMessage
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *composedMessage;
 
 /*!
  * @property date
@@ -93,8 +92,7 @@
  * @abstract
  * The timestamp of the entry.
  */
-@property (nonatomic, readonly) NSDate *date
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSDate *date;
 
 /*!
  * @property storeCategory
@@ -102,8 +100,7 @@
  * @abstract
  * This entry's storage tag. See OSLogEntryStoreCategory.
  */
-@property (nonatomic, readonly) OSLogEntryStoreCategory storeCategory
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) OSLogEntryStoreCategory storeCategory;
 
 @end
 
@@ -115,7 +112,7 @@
  * that are generated from a process; they have metadata about
  * the originator.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @protocol OSLogEntryFromProcess
 
@@ -125,8 +122,7 @@
  * @abstract
  * The activity ID associated with the entry.
  */
-@property (nonatomic, readonly) os_activity_id_t activityIdentifier
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) os_activity_id_t activityIdentifier;
 
 /*!
  * @property process
@@ -134,8 +130,7 @@
  * @abstract
  * The name of the process that made the entry.
  */
-@property (nonatomic, readonly) NSString *process
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *process;
 
 /*!
  * @property processIdentifier
@@ -143,8 +138,7 @@
  * @abstract
  * The pid of the process that made the entry.
  */
-@property (nonatomic, readonly) pid_t processIdentifier
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) pid_t processIdentifier;
 
 /*!
  * @property sender
@@ -152,8 +146,7 @@
  * @abstract
  * The name of the binary image that made the entry.
  */
-@property (nonatomic, readonly) NSString *sender
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *sender;
 
 /*!
  * @property threadIdentifier
@@ -161,8 +154,7 @@
  * @abstract
  * The tid of the thread that made the entry.
  */
-@property (nonatomic, readonly) uint64_t threadIdentifier
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) uint64_t threadIdentifier;
 
 @end
 
@@ -173,7 +165,7 @@
  * Entry subclasses conforming to this protocol represent
  * entries that were made using a handle and a format string.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @protocol OSLogEntryWithPayload
 
@@ -183,8 +175,7 @@
  * @abstract
  * The category from the os_log_t handle used.
  */
-@property (nonatomic, readonly) NSString *category
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *category;
 
 /*!
  * @property components
@@ -192,8 +183,7 @@
  * @abstract
  * An array of the various parts of the composed message.
  */
-@property (nonatomic, readonly) NSArray<OSLogMessageComponent *> *components
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSArray<OSLogMessageComponent *> *components;
 
 /*!
  * @property formatString
@@ -201,8 +191,7 @@
  * @abstract
  * The format string used.
  */
-@property (nonatomic, readonly) NSString *formatString
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *formatString;
 
 /*!
  * @property subsystem
@@ -210,13 +199,7 @@
  * @abstract
  * The subsystem of the os_log_t handle used.
  */
-@property (nonatomic, readonly) NSString *subsystem
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
-
-@end
-
-API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0))
-@interface OSLogEntry () <NSSecureCoding>
+@property (nonatomic, readonly) NSString *subsystem;
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryActivity.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryActivity.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryActivity.h	2021-08-07 05:22:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryActivity.h	2021-08-03 21:52:05.000000000 -0400
@@ -17,7 +17,7 @@
  * @abstract
  * An entry generated by an activity event.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogEntryActivity : OSLogEntry <OSLogEntryFromProcess>
 
@@ -27,8 +27,7 @@
  * @abstract
  * This parent activity's activity ID.
  */
-@property (nonatomic, readonly) os_activity_id_t parentActivityIdentifier
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) os_activity_id_t parentActivityIdentifier;
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryBoundary.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryBoundary.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryBoundary.h	2021-08-07 05:22:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryBoundary.h	2021-08-03 21:52:04.000000000 -0400
@@ -23,7 +23,7 @@
  * The data here are currently informational and carried in the
  * composedMessage property.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogEntryBoundary : OSLogEntry
 @end
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryLog.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryLog.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryLog.h	2021-08-07 05:22:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntryLog.h	2021-08-03 21:52:05.000000000 -0400
@@ -25,7 +25,7 @@
     OSLogEntryLogLevelError,
     OSLogEntryLogLevelFault,
 }
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(OSLogEntryLog.Level);
 
 /*!
@@ -34,7 +34,7 @@
  * @abstract
  * Entries made by the os_log API.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogEntryLog : OSLogEntry <OSLogEntryFromProcess, OSLogEntryWithPayload>
 
@@ -44,8 +44,7 @@
  * @abstract
  * The level of the entry, e.g., info, debug.
  */
-@property (nonatomic, readonly) OSLogEntryLogLevel level
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) OSLogEntryLogLevel level;
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntrySignpost.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntrySignpost.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntrySignpost.h	2021-08-07 05:22:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/EntrySignpost.h	2021-08-03 21:52:05.000000000 -0400
@@ -23,7 +23,7 @@
     OSLogEntrySignpostTypeIntervalEnd,
     OSLogEntrySignpostTypeEvent,
 }
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(OSLogEntrySignpost.SignpostType);
 
 /*!
@@ -32,7 +32,7 @@
  * @abstract
  * Entries made by the os_signpost API.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogEntrySignpost : OSLogEntry <OSLogEntryFromProcess, OSLogEntryWithPayload>
 
@@ -42,8 +42,7 @@
  * @abstract
  * The signpost ID associated with this entry.
  */
-@property (nonatomic, readonly) os_signpost_id_t signpostIdentifier
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) os_signpost_id_t signpostIdentifier;
 
 /*!
  * @property signpostName
@@ -51,8 +50,7 @@
  * @abstract
  * The signpost name associated with this entry.
  */
-@property (nonatomic, readonly) NSString *signpostName
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *signpostName;
 
 /*!
  * @property signpostType
@@ -60,8 +58,7 @@
  * @abstract
  * The signpost type associated with this entry.
  */
-@property (nonatomic, readonly) OSLogEntrySignpostType signpostType
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) OSLogEntrySignpostType signpostType;
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Enumerator.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Enumerator.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Enumerator.h	2021-08-07 05:22:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Enumerator.h	2021-08-03 21:52:04.000000000 -0400
@@ -26,7 +26,7 @@
 typedef NS_OPTIONS(NSUInteger, OSLogEnumeratorOptions) {
     OSLogEnumeratorReverse                                  = 0x01,
 }
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(OSLogEnumerator.Options);
 
 /*!
@@ -35,7 +35,7 @@
  * @abstract
  * An enumerator that views entries in the unified logging system.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogEnumerator : NSEnumerator
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/MessageComponent.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/MessageComponent.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/MessageComponent.h	2021-08-07 08:54:50.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/MessageComponent.h	2021-08-03 21:52:05.000000000 -0400
@@ -28,7 +28,7 @@
     OSLogMessageComponentArgumentCategoryString,
     OSLogMessageComponentArgumentCategoryUInt64,
 }
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(OSLogMessageComponent.ArgumentCategory);
 
 /*!
@@ -39,9 +39,9 @@
  * component for each placeholder in the formatString plus one
  * component for any text after the last placeholder.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
-@interface OSLogMessageComponent : NSObject <NSSecureCoding>
+@interface OSLogMessageComponent : NSObject
 
 /*!
  * @property formatSubstring
@@ -51,8 +51,7 @@
  * empty string if there is nothing between two placeholders, or
  * between the placeholder and the bounds of the string.
  */
-@property (nonatomic, readonly) NSString *formatSubstring
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *formatSubstring;
 
 /*!
  * @property placeholder
@@ -60,8 +59,7 @@
  * @abstract
  * The placeholder text. Is empty for is the last component.
  */
-@property (nonatomic, readonly) NSString *placeholder
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) NSString *placeholder;
 
 /*!
  * @property argumentCategory
@@ -70,8 +68,7 @@
  * The type of argument corresponding to the placeholder; see
  * OSLogMessageComponentArgumentCategory.
  */
-@property (nonatomic, readonly) OSLogMessageComponentArgumentCategory argumentCategory
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) OSLogMessageComponentArgumentCategory argumentCategory;
 
 /*!
  * @property argumentDataValue
@@ -81,8 +78,7 @@
  * argument cannot be decoded (for example, it could be
  * redacted), or if this is the last component.
  */
-@property (nonatomic, readonly, nullable) NSData *argumentDataValue
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly, nullable) NSData *argumentDataValue;
 
 /*!
  * @property argumentDoubleValue
@@ -92,8 +88,7 @@
  * value is undefined if the argument cannot be decoded or if this
  * is the last component.
  */
-@property (nonatomic, readonly) double argumentDoubleValue
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) double argumentDoubleValue;
 
 /*!
  * @property argumentInt64Value
@@ -102,8 +97,7 @@
  * The argument as a 64-bit signed integer; the value is undefined
  * if it cannot be decoded or if this is the last component.
  */
-@property (nonatomic, readonly) int64_t argumentInt64Value
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) int64_t argumentInt64Value;
 
 /*!
  * @property argumentNumberValue
@@ -113,8 +107,7 @@
  * be decoded (for example, it could be redacted), or if this is
  * the last component.
  */
-@property (nonatomic, readonly, nullable) NSNumber *argumentNumberValue
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly, nullable) NSNumber *argumentNumberValue;
 
 /*!
  * @property argumentStringValue
@@ -124,8 +117,7 @@
  * be decoded (for example, it could be redacted), or if this is
  * the last component.
  */
-@property (nonatomic, readonly, nullable) NSString *argumentStringValue
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly, nullable) NSString *argumentStringValue;
 
 /*!
  * @property argumentUInt64Value
@@ -135,8 +127,7 @@
  * undefined if the argument cannot be decoded or if this is the
  * last component.
  */
-@property (nonatomic, readonly) uint64_t argumentUInt64Value
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nonatomic, readonly) uint64_t argumentUInt64Value;
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Position.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Position.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Position.h	2021-08-07 05:22:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Position.h	2021-08-03 21:52:05.000000000 -0400
@@ -22,7 +22,7 @@
  * Generate positions with OSLogStore instance methods and use them
  * to start viewing entries from a particular starting point.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogPosition : NSObject
 - (instancetype)init NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Store.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Store.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Store.h	2021-08-09 03:22:54.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OSLog.framework/Headers/Store.h	2021-08-03 21:52:05.000000000 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018-2019 Apple Inc. All rights reserved.
+ * Copyright (c) 2018 Apple Inc. All rights reserved.
  */
 
 #ifndef __OSLOG_STORE_H__
@@ -12,24 +12,6 @@
 @class OSLogEnumerator;
 @class OSLogPosition;
 
-/*!
- * @enum OSLogStoreScope
- *
- * @abstract
- * Create a store to a subset of the libtrace entries.
- *
- * @constant OSLogStoreSystem
- * @constant OSLogStoreCurrentProcessIdentifier
- * "System" scope indicates the entire system; i.e., all logs. Entries can be
- * retrieved for the current calling process, i.e., matching pid.
- */
-typedef NS_ENUM(NSInteger, OSLogStoreScope) {
-    OSLogStoreSystem API_AVAILABLE(macos(12.0)) API_UNAVAILABLE(ios, tvos, watchos) = 0,
-    OSLogStoreCurrentProcessIdentifier = 1,
-}
-API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0))
-NS_SWIFT_NAME(OSLogStore.Scope);
-
 NS_ASSUME_NONNULL_BEGIN
 
 /*!
@@ -45,7 +27,7 @@
  * instances; one store can support multiple OSLogEnumerator
  * instances concurrently.
  */
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 OS_EXPORT
 @interface OSLogStore : NSObject
 
@@ -66,30 +48,14 @@
  *
  * Gaining access to the local unified logging system requires
  * permission from the system. The caller must be run by an admin
- * account.
+ * account and the have the com.apple.logging.local-store
+ * entitlement.
  */
 + (nullable instancetype)localStoreAndReturnError:(NSError **)error
 API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(local());
 
 /*!
- * @method storeWithScope
- *
- * @abstract
- * Create an OSLogStore for a subset of entries in the local store.
- *
- * @param scope
- * The kind of subset the OSLogStore is for.
- *
- * @param error
- * If initialization is unsuccessful, return nil and set this parameter to a
- * pointer to an error object that describes the reason.
- */
-+ (nullable instancetype)storeWithScope:(OSLogStoreScope)scope
-                                  error:(NSError **)error
-API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
-
-/*!
  * @method storeWithURL
  *
  * @abstract
@@ -106,11 +72,7 @@
  */
 + (nullable instancetype)storeWithURL:(NSURL *)url
                                 error:(NSError **)error
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0));
-
-- (instancetype)init
-API_DEPRECATED("Use one of the factory methods", macos(10.15, 12.0))
-API_UNAVAILABLE(ios, tvos, watchos);
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos);
 
 /*!
  * @method entriesEnumeratorWithOptions
@@ -142,7 +104,7 @@
                                                   position:(nullable OSLogPosition *)position
                                                  predicate:(nullable NSPredicate *)predicate
                                                      error:(NSError **)error
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_REFINED_FOR_SWIFT;
 
 /*!
@@ -157,7 +119,7 @@
  * to a pointer to an error object that describes the reason.
  */
 - (nullable OSLogEnumerator *)entriesEnumeratorAndReturnError:(NSError **)error
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_UNAVAILABLE("Use `entries` method");
 
 /*!
@@ -175,7 +137,7 @@
  * --- the earliest occurrence is used.
  */
 - (OSLogPosition *)positionWithDate:(NSDate *)date
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(position(date:));
 
 /*!
@@ -189,7 +151,7 @@
  * The seconds to add to the last time point in the range of entries.
  */
 - (OSLogPosition *)positionWithTimeIntervalSinceEnd:(NSTimeInterval)seconds
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(position(timeIntervalSinceEnd:));
 
 /*!
@@ -207,7 +169,7 @@
  * this function asserts that the interval is positive.
  */
 - (OSLogPosition *)positionWithTimeIntervalSinceLatestBoot:(NSTimeInterval)seconds
-API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0))
+API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos)
 NS_SWIFT_NAME(position(timeIntervalSinceLatestBoot:));
 
 @end
Clone this wiki locally