Build Information
Failed to build AppsOnAir-AppPush, reference main (faa425), with Swift 6.3 for macOS (SPM) on 20 Nov 2026 06:56:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apps-on-air/appsonair-ios-push-notification.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apps-on-air/appsonair-ios-push-notification
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at faa425b Merge pull request #19 from apps-on-air/1.0.9-beta
Cloned https://github.com/apps-on-air/appsonair-ios-push-notification.git
Revision (git rev-parse @):
faa425bfbc3c20440363bc62f43f977bf40e48d1
SUCCESS checkout https://github.com/apps-on-air/appsonair-ios-push-notification.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apps-on-air/appsonair-ios-push-notification.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Copying AppsOnAir-CoreInfo.plist
[0/8] Write sources
[6/8] Write swift-version-69A768CDF2A0BEE1.txt
[8/24] Emitting module AppsOnAir_AppPush_Shared
[9/24] Compiling AppsOnAir_AppPush_Shared EnvironmentConfig.swift
[10/24] Compiling AppsOnAir_AppPush_Shared AppsOnAirStorageKeys.swift
[11/27] Compiling AppsOnAir_Core UserDefaultsService.swift
[12/28] Compiling AppsOnAir_Core resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/28] Emitting module AppsOnAir_Core
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppsOnAir-iOS-Core/AppsOnAir-Core/NetwarkWatcher.swift:29:26: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
23 | /// - `currentNetworkState` and the delegate are updated on the main queue;
24 | /// - any satisfied non-cellular path (Wi-Fi, wired, simulator) is reported as "Wi-Fi".
25 | internal class PathMonitorNetworkService: NetworkService {
| `- note: add '@available' attribute to enclosing class
26 | weak var delegate: NetworkServiceDelegate?
27 |
28 | /// An `NWPathMonitor` can't be restarted once cancelled, so a fresh one is created per start.
29 | private var monitor: NWPathMonitor?
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
30 | private let queue = DispatchQueue(label: "com.appsonair.core.network-monitor")
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppsOnAir-iOS-Core/AppsOnAir-Core/NetwarkWatcher.swift:54:41: error: 'NWPath' is only available in macOS 10.14 or newer
23 | /// - `currentNetworkState` and the delegate are updated on the main queue;
24 | /// - any satisfied non-cellular path (Wi-Fi, wired, simulator) is reported as "Wi-Fi".
25 | internal class PathMonitorNetworkService: NetworkService {
| `- note: add '@available' attribute to enclosing class
26 | weak var delegate: NetworkServiceDelegate?
27 |
:
52 |
53 | /// call when network state changed
54 | private func networkChanged(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing instance method
55 | let isConnected = path.status == .satisfied
56 | let state: String
[14/28] Compiling AppsOnAir_Core SdkManager.swift
[15/28] Compiling AppsOnAir_Core KeychainService.swift
[16/28] Compiling AppsOnAir_Core Logger.swift
[17/28] Compiling AppsOnAir_Core DeviceIdentifier.swift
[18/28] Compiling AppsOnAir_Core DeviceInfoService.swift
[19/28] Compiling AppsOnAir_Core AppsOnAirCoreServices.swift
[20/28] Compiling AppsOnAir_Core BundleExtension.swift
[21/28] Compiling AppsOnAir_Core NetwarkWatcher.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppsOnAir-iOS-Core/AppsOnAir-Core/NetwarkWatcher.swift:29:26: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
23 | /// - `currentNetworkState` and the delegate are updated on the main queue;
24 | /// - any satisfied non-cellular path (Wi-Fi, wired, simulator) is reported as "Wi-Fi".
25 | internal class PathMonitorNetworkService: NetworkService {
| `- note: add '@available' attribute to enclosing class
26 | weak var delegate: NetworkServiceDelegate?
27 |
28 | /// An `NWPathMonitor` can't be restarted once cancelled, so a fresh one is created per start.
29 | private var monitor: NWPathMonitor?
| `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
30 | private let queue = DispatchQueue(label: "com.appsonair.core.network-monitor")
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppsOnAir-iOS-Core/AppsOnAir-Core/NetwarkWatcher.swift:54:41: error: 'NWPath' is only available in macOS 10.14 or newer
23 | /// - `currentNetworkState` and the delegate are updated on the main queue;
24 | /// - any satisfied non-cellular path (Wi-Fi, wired, simulator) is reported as "Wi-Fi".
25 | internal class PathMonitorNetworkService: NetworkService {
| `- note: add '@available' attribute to enclosing class
26 | weak var delegate: NetworkServiceDelegate?
27 |
:
52 |
53 | /// call when network state changed
54 | private func networkChanged(_ path: NWPath) {
| | `- error: 'NWPath' is only available in macOS 10.14 or newer
| `- note: add '@available' attribute to enclosing instance method
55 | let isConnected = path.status == .satisfied
56 | let state: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppsOnAir-iOS-Core/AppsOnAir-Core/NetwarkWatcher.swift:39:23: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
23 | /// - `currentNetworkState` and the delegate are updated on the main queue;
24 | /// - any satisfied non-cellular path (Wi-Fi, wired, simulator) is reported as "Wi-Fi".
25 | internal class PathMonitorNetworkService: NetworkService {
| `- note: add '@available' attribute to enclosing class
26 | weak var delegate: NetworkServiceDelegate?
27 |
:
35 |
36 | /// start network connectivity listener
37 | internal func startMonitoring() {
| `- note: add '@available' attribute to enclosing instance method
38 | guard monitor == nil else { return }
39 | let monitor = NWPathMonitor()
| |- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
40 | monitor.pathUpdateHandler = { [weak self] path in
41 | self?.networkChanged(path)
[22/28] Emitting module AppsOnAir_AppPush_ServiceExt
[23/28] Compiling AppsOnAir_AppPush_ServiceExt AOAPushExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppsOnAirPushServiceExt/AppsOnAirNotificationServiceExtension.swift:472:27: warning: capture of 'category' with non-Sendable type 'UNNotificationCategory' in a '@Sendable' closure [#SendableClosureCaptures]
470 | center.getNotificationCategories { existing in
471 | var merged = existing.filter { $0.identifier != identifier }
472 | merged.insert(category)
| `- warning: capture of 'category' with non-Sendable type 'UNNotificationCategory' in a '@Sendable' closure [#SendableClosureCaptures]
473 | center.setNotificationCategories(merged)
474 | semaphore.signal()
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h:36:12: note: class 'UNNotificationCategory' does not conform to the 'Sendable' protocol
34 |
35 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
36 | @interface UNNotificationCategory : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationCategory' does not conform to the 'Sendable' protocol
37 |
38 | // The unique identifier for this category. The UNNotificationCategory's actions will be displayed on notifications when the UNNotificationCategory's identifier matches the UNNotificationRequest's categoryIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/AppsOnAirPushServiceExt/AppsOnAirNotificationServiceExtension.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
1 | import Foundation
2 | import UserNotifications
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
3 | #if SWIFT_PACKAGE
4 | import AppsOnAir_AppPush_Shared
/Users/admin/builder/spi-builder-workspace/Sources/AppsOnAirPushServiceExt/AppsOnAirNotificationServiceExtension.swift:473:13: warning: capture of 'center' with non-Sendable type 'UNUserNotificationCenter' in a '@Sendable' closure [#SendableClosureCaptures]
471 | var merged = existing.filter { $0.identifier != identifier }
472 | merged.insert(category)
473 | center.setNotificationCategories(merged)
| `- warning: capture of 'center' with non-Sendable type 'UNUserNotificationCenter' in a '@Sendable' closure [#SendableClosureCaptures]
474 | semaphore.signal()
475 | }
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:39:12: note: class 'UNUserNotificationCenter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
39 | @interface UNUserNotificationCenter : NSObject
| `- note: class 'UNUserNotificationCenter' does not conform to the 'Sendable' protocol
40 |
41 | // The delegate can only be set from an application
Fetching https://github.com/apps-on-air/AppsOnAir-iOS-Core.git
[1/416] Fetching appsonair-ios-core
Fetched https://github.com/apps-on-air/AppsOnAir-iOS-Core.git from cache (3.91s)
Computing version for https://github.com/apps-on-air/AppsOnAir-iOS-Core.git
Computed https://github.com/apps-on-air/AppsOnAir-iOS-Core.git at 1.3.0 (6.73s)
Creating working copy for https://github.com/apps-on-air/AppsOnAir-iOS-Core.git
Working copy of https://github.com/apps-on-air/AppsOnAir-iOS-Core.git resolved at 1.3.0
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/AppsOnAirPush/Info.md
BUILD FAILURE 6.3 macosSpm