The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppsOnAir-Core, reference main (856d82), with Swift 6.1 for macOS (SPM) on 19 Nov 2026 04:21:32 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build 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.1
Building package at path:  $PWD
https://github.com/apps-on-air/AppsOnAir-iOS-Core.git
https://github.com/apps-on-air/AppsOnAir-iOS-Core.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AppsOnAir-Core",
  "name" : "AppsOnAir-Core",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AppsOnAir-Core",
      "targets" : [
        "AppsOnAir-Core",
        "AppsOnAir-Core-ObjC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppsOnAir_Core_ObjC",
      "module_type" : "ClangTarget",
      "name" : "AppsOnAir-Core-ObjC",
      "path" : "AppsOnAir_Core_ObjC",
      "product_memberships" : [
        "AppsOnAir-Core"
      ],
      "sources" : [
        "AppsOnAir_Core-Swift.m"
      ],
      "target_dependencies" : [
        "AppsOnAir-Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppsOnAir_Core",
      "module_type" : "SwiftTarget",
      "name" : "AppsOnAir-Core",
      "path" : "AppsOnAir-Core",
      "product_memberships" : [
        "AppsOnAir-Core"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/AppsOnAir-Core/Resources/AppsOnAir-CoreInfo.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AppsOnAirCoreServices.swift",
        "BundleExtension.swift",
        "DeviceIdentifier.swift",
        "DeviceInfoService.swift",
        "KeychainService.swift",
        "Logger.swift",
        "NetwarkWatcher.swift",
        "SdkManager.swift",
        "UserDefaultsService.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/4] Write sources
[1/4] Copying AppsOnAir-CoreInfo.plist
[2/4] Write swift-version-2F0A5646E1D333AE.txt
[4/14] Compiling AppsOnAir_Core KeychainService.swift
[5/15] Compiling AppsOnAir_Core UserDefaultsService.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module AppsOnAir_Core
/Users/admin/builder/spi-builder-workspace/AppsOnAir-Core/Logger.swift:13:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     // Set enum from internal to developer for pod distribution
12 |     // Set the logging level for the application
13 |     public static var logLevel: LoggerLevel = .developer
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     // Unified logging method
/Users/admin/builder/spi-builder-workspace/AppsOnAir-Core/NetwarkWatcher.swift:17:5: warning: var 'currentNetworkState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | ///get current network status
17 | var currentNetworkState: String = "Unknown"
   |     |- warning: var 'currentNetworkState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'currentNetworkState' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'currentNetworkState' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Implementation of network service using Apple's `NWPathMonitor` (Network framework).
/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/SdkManager.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SdkManager' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | @objcMembers public final class SdkManager: NSObject {
    |                                 `- note: class 'SdkManager' does not conform to the 'Sendable' protocol
  4 |
  5 |     public static let shared = SdkManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SdkManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |     private var cachedVersions = [String: String]()
  7 |
[7/15] Compiling AppsOnAir_Core resource_bundle_accessor.swift
[8/15] Compiling AppsOnAir_Core SdkManager.swift
/Users/admin/builder/spi-builder-workspace/AppsOnAir-Core/SdkManager.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SdkManager' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | @objcMembers public final class SdkManager: NSObject {
    |                                 `- note: class 'SdkManager' does not conform to the 'Sendable' protocol
  4 |
  5 |     public static let shared = SdkManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SdkManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |     private var cachedVersions = [String: String]()
  7 |
[9/15] Compiling AppsOnAir_Core BundleExtension.swift
[10/15] Compiling AppsOnAir_Core AppsOnAirCoreServices.swift
[11/15] Compiling AppsOnAir_Core DeviceIdentifier.swift
[12/15] Compiling AppsOnAir_Core DeviceInfoService.swift
[13/15] Compiling AppsOnAir_Core Logger.swift
/Users/admin/builder/spi-builder-workspace/AppsOnAir-Core/Logger.swift:13:23: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     // Set enum from internal to developer for pod distribution
12 |     // Set the logging level for the application
13 |     public static var logLevel: LoggerLevel = .developer
   |                       |- warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     // Unified logging method
[14/15] Compiling AppsOnAir_Core NetwarkWatcher.swift
/Users/admin/builder/spi-builder-workspace/AppsOnAir-Core/NetwarkWatcher.swift:17:5: warning: var 'currentNetworkState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | ///get current network status
17 | var currentNetworkState: String = "Unknown"
   |     |- warning: var 'currentNetworkState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'currentNetworkState' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'currentNetworkState' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Implementation of network service using Apple's `NWPathMonitor` (Network framework).
/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)
/Users/admin/builder/spi-builder-workspace/AppsOnAir-Core/NetwarkWatcher.swift:41:13: warning: capture of 'self' with non-sendable type 'PathMonitorNetworkService?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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: class 'PathMonitorNetworkService' does not conform to the 'Sendable' protocol
26 |     weak var delegate: NetworkServiceDelegate?
27 |
   :
39 |         let monitor = NWPathMonitor()
40 |         monitor.pathUpdateHandler = { [weak self] path in
41 |             self?.networkChanged(path)
   |             `- warning: capture of 'self' with non-sendable type 'PathMonitorNetworkService?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 |         }
43 |         self.monitor = monitor
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Compiling AppsOnAir_Core UserDefaultsService.swift
[3/12] 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)
[4/13] Compiling AppsOnAir_Core KeychainService.swift
[5/13] Compiling AppsOnAir_Core BundleExtension.swift
[6/13] Compiling AppsOnAir_Core DeviceIdentifier.swift
[7/13] Compiling AppsOnAir_Core AppsOnAirCoreServices.swift
[8/13] Compiling AppsOnAir_Core SdkManager.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Compiling AppsOnAir_Core Logger.swift
[10/13] Compiling AppsOnAir_Core DeviceInfoService.swift
[11/13] 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
[12/13] Compiling AppsOnAir_Core resource_bundle_accessor.swift
BUILD FAILURE 6.1 macosSpm