Build Information
Failed to build WWFloatingViewController, reference main (15e5ca), with Swift 6.1 for macOS (SPM) on 25 Sep 2025 17:19:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWFloatingView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWFloatingView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 15e5cac Update README.md
Cloned https://github.com/William-Weng/WWFloatingView.git
Revision (git rev-parse @):
15e5cacd3c1486a26fc7f67e2f191d0d120d0c05
SUCCESS checkout https://github.com/William-Weng/WWFloatingView.git at main
Fetching https://github.com/William-Weng/WWPrint.git
[1/92] Fetching wwprint
Fetched https://github.com/William-Weng/WWPrint.git from cache (0.85s)
Computing version for https://github.com/William-Weng/WWPrint.git
Computed https://github.com/William-Weng/WWPrint.git at 1.3.1 (1.48s)
Creating working copy for https://github.com/William-Weng/WWPrint.git
Working copy of https://github.com/William-Weng/WWPrint.git resolved at 1.3.1
========================================
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": "wwfloatingview",
"name": "WWFloatingViewController",
"url": "https://github.com/William-Weng/WWFloatingView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWFloatingView",
"dependencies": [
{
"identity": "wwprint",
"name": "WWPrint",
"url": "https://github.com/William-Weng/WWPrint.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWPrint",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/William-Weng/WWFloatingView.git
[1/130] Fetching wwfloatingview
Fetched https://github.com/William-Weng/WWFloatingView.git from cache (1.03s)
Fetching https://github.com/William-Weng/WWPrint.git from cache
Fetched https://github.com/William-Weng/WWPrint.git from cache (0.43s)
Computing version for https://github.com/William-Weng/WWPrint.git
Computed https://github.com/William-Weng/WWPrint.git at 1.3.1 (0.48s)
Creating working copy for https://github.com/William-Weng/WWPrint.git
Working copy of https://github.com/William-Weng/WWPrint.git resolved at 1.3.1
Creating working copy for https://github.com/William-Weng/WWFloatingView.git
Working copy of https://github.com/William-Weng/WWFloatingView.git resolved at main (15e5cac)
warning: '.resolve-product-dependencies': dependency 'wwfloatingview' is not used by any target
Found 1 product dependencies
- WWPrint
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/William-Weng/WWFloatingView.git
https://github.com/William-Weng/WWFloatingView.git
{
"dependencies" : [
{
"identity" : "wwprint",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/William-Weng/WWPrint.git"
}
],
"manifest_display_name" : "WWFloatingViewController",
"name" : "WWFloatingViewController",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "WWFloatingViewController",
"targets" : [
"WWFloatingViewController"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WWFloatingViewController",
"module_type" : "SwiftTarget",
"name" : "WWFloatingViewController",
"path" : "Sources/WWFloatingViewController",
"product_dependencies" : [
"WWPrint"
],
"product_memberships" : [
"WWFloatingViewController"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWFloatingViewController/Privacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Extension+.swift",
"WWFloatingView.swift",
"WWFloatingViewController.swift",
"WWFloatingViewDelegate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/9] Compiling WWPrint resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling WWPrint WWPrint.swift
[8/9] Emitting module WWPrint
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:35:25: error: 'Logger' is only available in macOS 11.0 or newer
9 |
10 | // MARK: - WWLogger
11 | open class WWLogger {
| `- note: add @available attribute to enclosing class
12 |
13 | /// Logger的等級
:
33 | }
34 |
35 | private var logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
36 |
37 | private init() {}
[9/9] Compiling WWPrint WWLogger.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:35:25: error: 'Logger' is only available in macOS 11.0 or newer
9 |
10 | // MARK: - WWLogger
11 | open class WWLogger {
| `- note: add @available attribute to enclosing class
12 |
13 | /// Logger的等級
:
33 | }
34 |
35 | private var logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
36 |
37 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:51:28: error: 'Logger' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
46 | /// - category: String
47 | /// - Returns: WWLogger
48 | static func build(subsystem: String, category: String = "Default") -> WWLogger {
| `- note: add @available attribute to enclosing static method
49 |
50 | let logger = WWLogger()
51 | logger.logger = os.Logger(subsystem: subsystem, category: category)
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 |
53 | return logger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:75:35: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
73 |
74 | switch level {
75 | case .debug: logger.debug("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:75:37: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
73 |
74 | switch level {
75 | case .debug: logger.debug("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:76:33: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
74 | switch level {
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:76:35: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
74 | switch level {
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:77:37: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:77:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:78:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
79 | case .critical: logger.critical("\(message)")
80 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:78:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
79 | case .critical: logger.critical("\(message)")
80 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:79:41: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:79:43: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/WWFloatingViewController/WWFloatingViewController.xib
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/5] Compiling WWPrint resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling WWPrint WWPrint.swift
[4/5] Emitting module WWPrint
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:35:25: error: 'Logger' is only available in macOS 11.0 or newer
9 |
10 | // MARK: - WWLogger
11 | open class WWLogger {
| `- note: add @available attribute to enclosing class
12 |
13 | /// Logger的等級
:
33 | }
34 |
35 | private var logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
36 |
37 | private init() {}
[5/5] Compiling WWPrint WWLogger.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:35:25: error: 'Logger' is only available in macOS 11.0 or newer
9 |
10 | // MARK: - WWLogger
11 | open class WWLogger {
| `- note: add @available attribute to enclosing class
12 |
13 | /// Logger的等級
:
33 | }
34 |
35 | private var logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
36 |
37 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:51:28: error: 'Logger' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
46 | /// - category: String
47 | /// - Returns: WWLogger
48 | static func build(subsystem: String, category: String = "Default") -> WWLogger {
| `- note: add @available attribute to enclosing static method
49 |
50 | let logger = WWLogger()
51 | logger.logger = os.Logger(subsystem: subsystem, category: category)
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 |
53 | return logger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:75:35: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
73 |
74 | switch level {
75 | case .debug: logger.debug("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:75:37: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
73 |
74 | switch level {
75 | case .debug: logger.debug("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:76:33: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
74 | switch level {
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:76:35: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
74 | switch level {
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:77:37: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:77:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
75 | case .debug: logger.debug("\(message)")
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:78:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
79 | case .critical: logger.critical("\(message)")
80 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:78:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
76 | case .info: logger.info("\(message)")
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
79 | case .critical: logger.critical("\(message)")
80 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:79:41: error: 'OSLogMessage' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWPrint/Sources/WWPrint/WWLogger.swift:79:43: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
39 |
40 | // MARK: - public function
41 | public extension WWLogger {
| `- note: add @available attribute to enclosing extension
42 |
43 | /// 建立WWLogger
:
68 | /// - message: OSLogMessage
69 | /// - level: LoggerLevel
70 | func message(_ message: String, level: LoggerLevel = .notice) {
| `- note: add @available attribute to enclosing instance method
71 |
72 | guard let logger = logger else { return }
:
77 | case .notice: logger.notice("\(message)")
78 | case .warning: logger.warning("\(message)")
79 | case .critical: logger.critical("\(message)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/WWFloatingViewController/WWFloatingViewController.xib
BUILD FAILURE 6.1 macosSpm