From bb8e6fdbd2035aaa135fe325130f8ca112663404 Mon Sep 17 00:00:00 2001 From: thackerdynasty <70179471+thackerdynasty@users.noreply.github.com> Date: Tue, 2 Jul 2024 18:39:54 +0530 Subject: [PATCH] swift 6 fix --- .../xcode/package.xcworkspace/contents.xcworkspacedata | 7 +++++++ Package.swift | 2 +- Sources/XCGLogger/XCGLogger.swift | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Package.swift b/Package.swift index a6f3c696..45ff3594 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.5 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription diff --git a/Sources/XCGLogger/XCGLogger.swift b/Sources/XCGLogger/XCGLogger.swift index 8f0ff2c4..6db7edd2 100644 --- a/Sources/XCGLogger/XCGLogger.swift +++ b/Sources/XCGLogger/XCGLogger.swift @@ -15,7 +15,7 @@ // MARK: - XCGLogger /// The main logging class -open class XCGLogger: CustomDebugStringConvertible { +open class XCGLogger: CustomDebugStringConvertible, @unchecked Sendable { // MARK: - Constants public struct Constants { /// Prefix identifier to use for all other identifiers