We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f235a0 commit db36acfCopy full SHA for db36acf
Sources/DummySendable.swift
@@ -2,7 +2,10 @@ import Foundation
2
import os
3
4
5
-#if swift(>=5.5)
+/* Sendable exists from Swift 5.5, however OSLog is only Sendable starting from Xcode with at least Swift 5.8.
6
+ * That being said, the Sendability issues regarding OSLog not being Sendable only trigger errors when compiling with Swift 5.5 exactly,
7
+ * so we cheat and make a dummy Sendable protocol for Swift 5.5 too. */
8
+#if swift(>=5.6)
9
public protocol GHALogger_Sendable : Sendable {}
10
#else
11
public protocol GHALogger_Sendable {}
0 commit comments