Build Information
Failed to build AppsOnAir-Core, reference main (856d82), with Swift 6.3 for macOS (SPM) on 19 Nov 2026 04:20:22 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-Core.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apps-on-air/AppsOnAir-iOS-Core
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 856d825 Merge pull request #28 from apps-on-air/ios27-nwpathmonitor
Cloned https://github.com/apps-on-air/AppsOnAir-iOS-Core.git
Revision (git rev-parse @):
856d82501949d6d6cad233e79ab2d4516854a613
SUCCESS checkout https://github.com/apps-on-air/AppsOnAir-iOS-Core.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apps-on-air/AppsOnAir-iOS-Core.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying AppsOnAir-CoreInfo.plist
[1/4] Write sources
[2/4] Write swift-version-69A768CDF2A0BEE1.txt
[4/14] Compiling AppsOnAir_Core UserDefaultsService.swift
[5/14] Compiling AppsOnAir_Core SdkManager.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Compiling AppsOnAir_Core KeychainService.swift
[7/15] Compiling AppsOnAir_Core BundleExtension.swift
[8/15] Compiling AppsOnAir_Core Logger.swift
[9/15] Compiling AppsOnAir_Core DeviceIdentifier.swift
[10/15] Compiling AppsOnAir_Core DeviceInfoService.swift
[11/15] Compiling AppsOnAir_Core AppsOnAirCoreServices.swift
[12/15] Emitting module AppsOnAir_Core
/Users/admin/builder/spi-builder-workspace/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/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
[13/15] Compiling AppsOnAir_Core NetwarkWatcher.swift
/Users/admin/builder/spi-builder-workspace/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/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/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)
[14/15] Compiling AppsOnAir_Core resource_bundle_accessor.swift
BUILD FAILURE 6.3 macosSpm