Build Information
Failed to build Loggie, reference 1.1.3 (58a02f), with Swift 6.1 for macOS (SPM) on 15 Jul 2025 13:58:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kvngwxxk/Loggie.git
Reference: 1.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kvngwxxk/Loggie
* tag 1.1.3 -> FETCH_HEAD
HEAD is now at 58a02fa Merge pull request #9 from kvngwxxk/develop
Cloned https://github.com/kvngwxxk/Loggie.git
Revision (git rev-parse @):
58a02fa4614b3a50e0189e88e5f2359f96753210
SUCCESS checkout https://github.com/kvngwxxk/Loggie.git at 1.1.3
Fetching https://github.com/Alamofire/Alamofire.git
[1/30154] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.56s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (3.06s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "loggie",
"name": "Loggie",
"url": "https://github.com/kvngwxxk/Loggie.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Loggie",
"dependencies": [
{
"identity": "alamofire",
"name": "Alamofire",
"url": "https://github.com/Alamofire/Alamofire.git",
"version": "5.10.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kvngwxxk/Loggie.git
[1/268] Fetching loggie
Fetched https://github.com/kvngwxxk/Loggie.git from cache (0.73s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.68s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.74s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/kvngwxxk/Loggie.git
Working copy of https://github.com/kvngwxxk/Loggie.git resolved at 1.1.3 (58a02fa)
warning: '.resolve-product-dependencies': dependency 'loggie' is not used by any target
Found 1 product dependencies
- Alamofire
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kvngwxxk/Loggie.git
https://github.com/kvngwxxk/Loggie.git
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.6.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "Loggie",
"name" : "Loggie",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Loggie",
"targets" : [
"Loggie"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LoggieNetwork",
"targets" : [
"LoggieNetwork"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LoggieTests",
"module_type" : "SwiftTarget",
"name" : "LoggieTests",
"path" : "Tests/LoggieTests",
"sources" : [
"LoggieTests.swift"
],
"target_dependencies" : [
"Loggie"
],
"type" : "test"
},
{
"c99name" : "LoggieNetworkTests",
"module_type" : "SwiftTarget",
"name" : "LoggieNetworkTests",
"path" : "Tests/LoggieNetworkTests",
"sources" : [
"LoggieNetworkTests.swift"
],
"target_dependencies" : [
"LoggieNetwork"
],
"type" : "test"
},
{
"c99name" : "LoggieNetwork",
"module_type" : "SwiftTarget",
"name" : "LoggieNetwork",
"path" : "Sources/LoggieNetwork",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"LoggieNetwork"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/LoggieNetwork/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/LoggieNetwork/Resources/LoggieNetworkLogModel.xcdatamodeld",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CoreDataManager.swift",
"LoggieNetwork.swift",
"LoggieNetworkInterceptor.swift",
"LoggieNetworkLog+CoreDataClass.swift",
"LoggieNetworkLog+CoreDataProperties.swift",
"LoggieNetworkTracker.swift",
"LoggieWebViewMessageHandler.swift",
"PendingLogsStore.swift",
"View/Bundle+Localization.swift",
"View/LoggieNetworkFloatingButtonManager.swift",
"View/LoggieNetworkLogDetailViewController.swift",
"View/LoggieNetworkLogListViewController.swift",
"View/LoggieNetworkLogTableViewCell.swift",
"View/LoggieNetworkSettingsViewController.swift",
"WKWebView+Extensions.swift"
],
"target_dependencies" : [
"Loggie"
],
"type" : "library"
},
{
"c99name" : "Loggie",
"module_type" : "SwiftTarget",
"name" : "Loggie",
"path" : "Sources/Loggie",
"product_memberships" : [
"Loggie",
"LoggieNetwork"
],
"sources" : [
"LogLevel.swift",
"Loggie.swift",
"LoggieVersion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[3/8] Copying Info.plist
[3/8] Copying Localizable.xcstrings
[4/8] Copying PrivacyInfo.xcprivacy
[6/8] Copying LoggieNetworkLogModel.xcdatamodeld
[7/8] Write swift-version-2F0A5646E1D333AE.txt
[9/52] Compiling Loggie LoggieVersion.swift
[10/52] Emitting module Alamofire
[11/56] Compiling Alamofire SessionDelegate.swift
[12/56] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[13/56] Compiling Alamofire UploadRequest.swift
[14/56] Compiling Alamofire WebSocketRequest.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/56] Compiling Loggie LogLevel.swift
[16/56] Emitting module Loggie
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:64:26: error: 'Logger' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
| `- error: 'Logger' is only available in macOS 11.0 or newer
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
66 | private let fileQueue = DispatchQueue(label: "com.loggie.file")
[17/56] Compiling Loggie Loggie.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:64:26: error: 'Logger' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
| `- error: 'Logger' is only available in macOS 11.0 or newer
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
66 | private let fileQueue = DispatchQueue(label: "com.loggie.file")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:129:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
127 | switch level {
128 | case .debug:
129 | logger.debug("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:129:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
127 | switch level {
128 | case .debug:
129 | logger.debug("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:131:31: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
129 | logger.debug("\(text, privacy: .public)")
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:131:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
129 | logger.debug("\(text, privacy: .public)")
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:133:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
131 | logger.notice("\(text, privacy: .public)")
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:133:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
131 | logger.notice("\(text, privacy: .public)")
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:135:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
133 | logger.info("\(text, privacy: .public)")
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:135:34: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
133 | logger.info("\(text, privacy: .public)")
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:137:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
135 | logger.warning("\(text, privacy: .public)")
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:137:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
135 | logger.warning("\(text, privacy: .public)")
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:148:37: error: 'close()' is only available in macOS 10.15 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
146 | let handle = try? FileHandle(forWritingTo: url)
147 | else { return }
148 | defer { try? handle.close() }
| |- error: 'close()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | _ = try? handle.seekToEnd()
150 | try? handle.write(contentsOf: data)
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:149:33: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
147 | else { return }
148 | defer { try? handle.close() }
149 | _ = try? handle.seekToEnd()
| |- error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
150 | try? handle.write(contentsOf: data)
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:150:29: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
148 | defer { try? handle.close() }
149 | _ = try? handle.seekToEnd()
150 | try? handle.write(contentsOf: data)
| |- error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
151 | }
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:166:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
164 | switch level {
165 | case .debug:
166 | logger.debug("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:166:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
164 | switch level {
165 | case .debug:
166 | logger.debug("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:168:31: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
166 | logger.debug("\(text, privacy: .public)")
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:168:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
166 | logger.debug("\(text, privacy: .public)")
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:170:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
168 | logger.notice("\(text, privacy: .public)")
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:170:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
168 | logger.notice("\(text, privacy: .public)")
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:172:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
170 | logger.info("\(text, privacy: .public)")
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:172:34: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
170 | logger.info("\(text, privacy: .public)")
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:174:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
172 | logger.warning("\(text, privacy: .public)")
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
175 | }
176 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:174:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
172 | logger.warning("\(text, privacy: .public)")
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
175 | }
176 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:185:37: error: 'close()' is only available in macOS 10.15 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
183 | let handle = try? FileHandle(forWritingTo: url)
184 | else { return }
185 | defer { try? handle.close() }
| |- error: 'close()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | _ = try? handle.seekToEnd()
187 | try? handle.write(contentsOf: data)
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:186:33: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
184 | else { return }
185 | defer { try? handle.close() }
186 | _ = try? handle.seekToEnd()
| |- error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
187 | try? handle.write(contentsOf: data)
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:187:29: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
185 | defer { try? handle.close() }
186 | _ = try? handle.seekToEnd()
187 | try? handle.write(contentsOf: data)
| |- error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
188 | }
189 | }
[18/56] Compiling Alamofire HTTPHeaders.swift
[19/56] Compiling Alamofire HTTPMethod.swift
[20/56] Compiling Alamofire Notifications.swift
[21/56] Compiling Alamofire ParameterEncoder.swift
[22/56] Compiling Alamofire ParameterEncoding.swift
[23/56] Compiling Alamofire Alamofire.swift
[24/56] Compiling Alamofire AFError.swift
[25/56] Compiling Alamofire DataRequest.swift
[26/56] Compiling Alamofire DataStreamRequest.swift
[27/56] Compiling Alamofire DownloadRequest.swift
[28/56] Compiling Alamofire RequestCompression.swift
[29/56] Compiling Alamofire RequestInterceptor.swift
[30/56] Compiling Alamofire ResponseSerialization.swift
[31/56] Compiling Alamofire RetryPolicy.swift
[32/56] Compiling Alamofire DispatchQueue+Alamofire.swift
[33/56] Compiling Alamofire OperationQueue+Alamofire.swift
[34/56] Compiling Alamofire Result+Alamofire.swift
[35/56] Compiling Alamofire StringEncoding+Alamofire.swift
[36/56] Compiling Alamofire URLRequest+Alamofire.swift
[37/56] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[38/56] Compiling Alamofire AlamofireExtended.swift
[39/56] Compiling Alamofire AuthenticationInterceptor.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/45] Compiling Loggie LoggieVersion.swift
[3/45] Compiling Loggie LogLevel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/45] Emitting module Loggie
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:64:26: error: 'Logger' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
| `- error: 'Logger' is only available in macOS 11.0 or newer
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
66 | private let fileQueue = DispatchQueue(label: "com.loggie.file")
[5/45] Compiling Loggie Loggie.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:64:26: error: 'Logger' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
| `- error: 'Logger' is only available in macOS 11.0 or newer
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
66 | private let fileQueue = DispatchQueue(label: "com.loggie.file")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:129:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
127 | switch level {
128 | case .debug:
129 | logger.debug("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:129:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
127 | switch level {
128 | case .debug:
129 | logger.debug("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:131:31: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
129 | logger.debug("\(text, privacy: .public)")
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:131:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
129 | logger.debug("\(text, privacy: .public)")
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:133:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
131 | logger.notice("\(text, privacy: .public)")
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:133:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
131 | logger.notice("\(text, privacy: .public)")
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:135:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
133 | logger.info("\(text, privacy: .public)")
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:135:34: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
133 | logger.info("\(text, privacy: .public)")
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:137:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
135 | logger.warning("\(text, privacy: .public)")
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:137:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
135 | logger.warning("\(text, privacy: .public)")
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:148:37: error: 'close()' is only available in macOS 10.15 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
146 | let handle = try? FileHandle(forWritingTo: url)
147 | else { return }
148 | defer { try? handle.close() }
| |- error: 'close()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | _ = try? handle.seekToEnd()
150 | try? handle.write(contentsOf: data)
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:149:33: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
147 | else { return }
148 | defer { try? handle.close() }
149 | _ = try? handle.seekToEnd()
| |- error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
150 | try? handle.write(contentsOf: data)
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:150:29: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
148 | defer { try? handle.close() }
149 | _ = try? handle.seekToEnd()
150 | try? handle.write(contentsOf: data)
| |- error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
151 | }
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:166:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
164 | switch level {
165 | case .debug:
166 | logger.debug("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:166:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
164 | switch level {
165 | case .debug:
166 | logger.debug("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:168:31: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
166 | logger.debug("\(text, privacy: .public)")
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:168:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
166 | logger.debug("\(text, privacy: .public)")
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:170:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
168 | logger.notice("\(text, privacy: .public)")
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:170:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
168 | logger.notice("\(text, privacy: .public)")
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:172:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
170 | logger.info("\(text, privacy: .public)")
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:172:34: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
170 | logger.info("\(text, privacy: .public)")
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:174:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
172 | logger.warning("\(text, privacy: .public)")
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
175 | }
176 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:174:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
172 | logger.warning("\(text, privacy: .public)")
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
175 | }
176 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:185:37: error: 'close()' is only available in macOS 10.15 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
183 | let handle = try? FileHandle(forWritingTo: url)
184 | else { return }
185 | defer { try? handle.close() }
| |- error: 'close()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | _ = try? handle.seekToEnd()
187 | try? handle.write(contentsOf: data)
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:186:33: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
184 | else { return }
185 | defer { try? handle.close() }
186 | _ = try? handle.seekToEnd()
| |- error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
187 | try? handle.write(contentsOf: data)
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:187:29: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
185 | defer { try? handle.close() }
186 | _ = try? handle.seekToEnd()
187 | try? handle.write(contentsOf: data)
| |- error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
188 | }
189 | }
BUILD FAILURE 6.1 macosSpm