Skip to content

Commit

Permalink
fix: remove retroactive to fix compilation on old XCode
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Oct 18, 2024
1 parent 5553a33 commit 117e0f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AppLogsPod/AppLogs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extension DateFormatter {
}

@available(iOS 15.0, *)
extension OSLogEntryLog.Level: @retroactive CustomStringConvertible {
extension OSLogEntryLog.Level: CustomStringConvertible {
public var description: String {
switch self {
case .undefined:
Expand Down
4 changes: 2 additions & 2 deletions ios/OSLogStoreHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extension DateFormatter {
}

@available(iOS 15.0, *)
extension OSLogEntryLog.Level: @retroactive CustomStringConvertible {
extension OSLogEntryLog.Level: CustomStringConvertible {
public var description: String {
switch self {
case .undefined:
Expand Down Expand Up @@ -44,7 +44,7 @@ public class OSLogStoreHelper: NSObject {
private var logStore: OSLogStore?
private static var onNewLogs: (([NSDictionary]) -> Void)? = nil
private let formatter = DateFormatter().apply {
$0.timeZone = TimeZone(abbreviation: "UTC");
$0.timeZone = TimeZone(abbreviation: "UTC")
$0.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
}

Expand Down

0 comments on commit 117e0f8

Please sign in to comment.