The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Airship, reference main (412115), with Swift 6.3 for macOS (SPM) on 6 Nov 2026 02:27:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.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/urbanairship/ios-library.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/urbanairship/ios-library
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 412115e Pin CI Node to 26.13.0 LTS (#4114)
Cloned https://github.com/urbanairship/ios-library.git
Revision (git rev-parse @):
412115e396aa28b9fa5dba1a8106ba30b13483ec
SUCCESS checkout https://github.com/urbanairship/ios-library.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/urbanairship/ios-library.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/86] Write sources
[0/86] Copying UrbanAirship.strings
[0/86] Copying Info.plist
[0/86] Copying UrbanAirship.strings
[32/86] Copying UANativeBridge
[32/86] Copying UrbanAirship.strings
[32/86] Copying PrivacyInfo.xcprivacy
[32/86] Copying UrbanAirship.strings
[32/86] Copying UANotificationCategories.plist
[32/86] Write sources
[32/86] Copying UrbanAirship.strings
[32/86] Copying Info.plist
[32/86] Write sources
[67/86] Copying UAInboxDataMappingV1toV4.xcmappingmodel
[67/86] Copying UARemoteDataMappingV3toV4.xcmappingmodel
[67/86] Copying UARemoteDataMappingV2toV4.xcmappingmodel
[70/86] Copying UAInboxDataMappingV2toV4.xcmappingmodel
[71/86] Copying UAInboxDataMappingV3toV4.xcmappingmodel
[72/86] Copying UARemoteDataMappingV1toV4.xcmappingmodel
[73/86] Copying TestAssets.xcassets
[73/86] Copying AirshipDebugPushData.xcdatamodeld
[75/86] Copying AirshipDebugEventData.xcdatamodeld
[76/86] Copying UAEvents.xcdatamodeld
[77/86] Copying UAirshipCache.xcdatamodeld
[78/86] Copying UAMeteredUsage.xcdatamodeld
[79/86] Copying UAFrequencyLimits.xcdatamodeld
[80/86] Copying AirshipLedger.xcdatamodeld
[81/86] Copying UAInbox.xcdatamodeld
[82/86] Copying UARemoteData.xcdatamodeld
[83/86] Copying AirshipAutomation.xcdatamodeld
[84/86] Copying UAAutomation.xcdatamodeld
[85/86] Write swift-version-69A768CDF2A0BEE1.txt
[87/130] Compiling AirshipNotificationServiceExtension UANotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:16:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
    |                    `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
 18 |     ) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:17:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    |                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 18 |     ) {
 19 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:11:44: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            |                               `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:94:38: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 90 | /// Wraps a content handler so it can only be invoked once, no matter
 91 | /// which path (download task or expiry) finishes the request first.
 92 | private final class OnceContentHandler: @unchecked Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 93 |     private let lock = NSLock()
 94 |     private var handler: (@Sendable (UNNotificationContent) -> Void)?
    |                                      `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 95 |
 96 |     init(_ handler: @Sendable @escaping (UNNotificationContent) -> Void) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:96:42: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 90 | /// Wraps a content handler so it can only be invoked once, no matter
 91 | /// which path (download task or expiry) finishes the request first.
 92 | private final class OnceContentHandler: @unchecked Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 93 |     private let lock = NSLock()
 94 |     private var handler: (@Sendable (UNNotificationContent) -> Void)?
 95 |
 96 |     init(_ handler: @Sendable @escaping (UNNotificationContent) -> Void) {
    |     |                                    `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |     `- note: add '@available' attribute to enclosing initializer
 97 |         self.handler = handler
 98 |     }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:100:36: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 90 | /// Wraps a content handler so it can only be invoked once, no matter
 91 | /// which path (download task or expiry) finishes the request first.
 92 | private final class OnceContentHandler: @unchecked Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 93 |     private let lock = NSLock()
 94 |     private var handler: (@Sendable (UNNotificationContent) -> Void)?
    :
 98 |     }
 99 |
100 |     func callAsFunction(_ content: UNNotificationContent) {
    |          |                         `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
101 |         lock.lock()
102 |         let handler = self.handler
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:109:11: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
107 | }
108 |
109 | extension UNNotificationRequest {
    | |         `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    | `- note: add '@available' attribute to enclosing extension
110 |     fileprivate static let airshipMediaAttachment = "com.urbanairship.media_attachment"
111 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:30:28: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 28 |         let finish = OnceContentHandler(contentHandler)
 29 |
 30 |         let downloadTask = Task { @MainActor in
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 31 |             logger.debug(
 32 |                 "New request received: \(request)"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:30:28: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 28 |         let finish = OnceContentHandler(contentHandler)
 29 |
 30 |         let downloadTask = Task { @MainActor in
    |                            |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 31 |             logger.debug(
 32 |                 "New request received: \(request)"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:35:74: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 33 |             )
 34 |
 35 |             guard let mutableContent = request.content.mutableCopy() as? UNMutableNotificationContent else {
    |                                                                          |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
    |                                                                          `- note: add 'if #available' version check
 36 |                 logger.error(
 37 |                     "Unable to make mutable copy of request"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:39:21: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 37 |                     "Unable to make mutable copy of request"
 38 |                 )
 39 |                 try Task.checkCancellation()
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 40 |                 finish(request.content)
 41 |                 return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:39:26: error: 'checkCancellation()' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 37 |                     "Unable to make mutable copy of request"
 38 |                 )
 39 |                 try Task.checkCancellation()
    |                          |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 40 |                 finish(request.content)
 41 |                 return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:50:25: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 48 |                         "Finishing request, no Airship args: \(request.identifier)"
 49 |                     )
 50 |                     try Task.checkCancellation()
    |                         |- error: 'Task' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 51 |                     finish(request.content)
 52 |                     return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:50:30: error: 'checkCancellation()' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 48 |                         "Finishing request, no Airship args: \(request.identifier)"
 49 |                     )
 50 |                     try Task.checkCancellation()
    |                              |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 51 |                     finish(request.content)
 52 |                     return
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:68:17: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 66 |             }
 67 |
 68 |             try Task.checkCancellation()
    |                 |- error: 'Task' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 69 |
 70 |             logger.info(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:68:22: error: 'checkCancellation()' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 66 |             }
 67 |
 68 |             try Task.checkCancellation()
    |                      |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 69 |
 70 |             logger.info(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:80:26: error: 'cancel()' is only available in macOS 10.15 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    :
 78 |                 "serviceExtensionTimeWillExpire expiring, canceling airshipTask"
 79 |             )
 80 |             downloadTask.cancel()
    |                          |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 81 |             finish(request.content)
 82 |         }
[88/130] Compiling AirshipNotificationServiceExtension MediaAttachmentPayload.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:135:51: error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
 92 |     }
 93 |
 94 |     struct PayloadOptions: Decodable, Sendable {
    |            `- note: add '@available' attribute to enclosing struct
 95 |         private static let cropRequiredFields = ["x", "y", "width", "height"]
 96 |         let crop: [String: Double]?
    :
132 |         }
133 |
134 |         func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
    |              `- note: add '@available' attribute to enclosing instance method
135 |             var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
    |                                                   |- error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
    |                                                   `- note: add 'if #available' version check
136 |
137 |             if let crop = self.crop {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:141:24: error: 'UNNotificationAttachmentOptionsThumbnailClippingRectKey' is only available in macOS 10.14 or newer
 92 |     }
 93 |
 94 |     struct PayloadOptions: Decodable, Sendable {
    |            `- note: add '@available' attribute to enclosing struct
 95 |         private static let cropRequiredFields = ["x", "y", "width", "height"]
 96 |         let crop: [String: Double]?
    :
132 |         }
133 |
134 |         func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
    |              `- note: add '@available' attribute to enclosing instance method
135 |             var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
    :
139 |                     partialResult[entry.key.capitalized] = entry.value
140 |                 }
141 |                 result[UNNotificationAttachmentOptionsThumbnailClippingRectKey] = normalized
    |                        |- error: 'UNNotificationAttachmentOptionsThumbnailClippingRectKey' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
142 |             }
143 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:145:24: error: 'UNNotificationAttachmentOptionsThumbnailTimeKey' is only available in macOS 10.14 or newer
 92 |     }
 93 |
 94 |     struct PayloadOptions: Decodable, Sendable {
    |            `- note: add '@available' attribute to enclosing struct
 95 |         private static let cropRequiredFields = ["x", "y", "width", "height"]
 96 |         let crop: [String: Double]?
    :
132 |         }
133 |
134 |         func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
    |              `- note: add '@available' attribute to enclosing instance method
135 |             var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
    :
143 |
144 |             if let time = self.time {
145 |                 result[UNNotificationAttachmentOptionsThumbnailTimeKey] = time
    |                        |- error: 'UNNotificationAttachmentOptionsThumbnailTimeKey' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
146 |             }
147 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/MediaAttachmentPayload.swift:149:24: error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
 92 |     }
 93 |
 94 |     struct PayloadOptions: Decodable, Sendable {
    |            `- note: add '@available' attribute to enclosing struct
 95 |         private static let cropRequiredFields = ["x", "y", "width", "height"]
 96 |         let crop: [String: Double]?
    :
132 |         }
133 |
134 |         func generateNotificationAttachmentOptions(hideThumbnail: Bool) -> [String: any Sendable] {
    |              `- note: add '@available' attribute to enclosing instance method
135 |             var result: [String: any Sendable] = [UNNotificationAttachmentOptionsThumbnailHiddenKey: hideThumbnail]
136 |
    :
147 |
148 |             if let hidden = self.hidden {
149 |                 result[UNNotificationAttachmentOptionsThumbnailHiddenKey] = hidden
    |                        |- error: 'UNNotificationAttachmentOptionsThumbnailHiddenKey' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
150 |             }
151 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/130] Compiling AirshipNotificationServiceExtension AirshipExtensionConfig.swift
[90/130] Compiling AirshipNotificationServiceExtension ChallengeResolver.swift
[91/130] Emitting module AirshipNotificationServiceExtension
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:32: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
198 |     }
199 |
200 |     private static let logger: Logger = Logger(
    |                        |       `- error: 'Logger' is only available in macOS 11.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
201 |         subsystem: Bundle.main.bundleIdentifier ?? "",
202 |         category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:41: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
198 |     }
199 |
200 |     private static let logger: Logger = Logger(
    |                        |                `- error: 'Logger' is only available in macOS 11.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
201 |         subsystem: Bundle.main.bundleIdentifier ?? "",
202 |         category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:220:40: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
212 | }
213 |
214 | struct AirshipNotificationMutations: Sendable {
    |        `- note: add '@available' attribute to enclosing struct
215 |     var title: String?
216 |     var subtitle: String?
    :
218 |     var attachments: [AirshipAttachment]
219 |
220 |     func apply(to notificationContent: UNMutableNotificationContent) throws {
    |          |                             `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
221 |         // Text overrides land first: a rejected attachment must never cost the
222 |         // notification its title/subtitle/body.
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:253:33: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
246 |
247 |
248 | struct AirshipAttachment: Sendable {
    |        `- note: add '@available' attribute to enclosing struct
249 |     var identifier: String
250 |     var url: URL
251 |     var options: [String : any Sendable]
252 |
253 |     var notificationAttachment: UNNotificationAttachment {
    |         |                       `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |         `- note: add '@available' attribute to enclosing property
254 |         get throws {
255 |             try UNNotificationAttachment(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:16:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
    |                    `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
 18 |     ) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:17:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
 14 |
 15 |     open override func didReceive(
    |                        `- note: add '@available' attribute to enclosing instance method
 16 |         _ request: UNNotificationRequest,
 17 |         withContentHandler contentHandler: @Sendable @escaping (UNNotificationContent) -> Void
    |                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 18 |     ) {
 19 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:11:44: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
  9 |
 10 | @objc
 11 | open class UANotificationServiceExtension: UNNotificationServiceExtension {
    |            |                               `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
    |            `- note: add '@available' attribute to enclosing class
 12 |     open var airshipConfig: AirshipExtensionConfig { .init() }
 13 |     private var onExpire: (@Sendable () -> Void)?
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:94:38: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 90 | /// Wraps a content handler so it can only be invoked once, no matter
 91 | /// which path (download task or expiry) finishes the request first.
 92 | private final class OnceContentHandler: @unchecked Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 93 |     private let lock = NSLock()
 94 |     private var handler: (@Sendable (UNNotificationContent) -> Void)?
    |                                      `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 95 |
 96 |     init(_ handler: @Sendable @escaping (UNNotificationContent) -> Void) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:96:42: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 90 | /// Wraps a content handler so it can only be invoked once, no matter
 91 | /// which path (download task or expiry) finishes the request first.
 92 | private final class OnceContentHandler: @unchecked Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 93 |     private let lock = NSLock()
 94 |     private var handler: (@Sendable (UNNotificationContent) -> Void)?
 95 |
 96 |     init(_ handler: @Sendable @escaping (UNNotificationContent) -> Void) {
    |     |                                    `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |     `- note: add '@available' attribute to enclosing initializer
 97 |         self.handler = handler
 98 |     }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:100:36: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 90 | /// Wraps a content handler so it can only be invoked once, no matter
 91 | /// which path (download task or expiry) finishes the request first.
 92 | private final class OnceContentHandler: @unchecked Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 93 |     private let lock = NSLock()
 94 |     private var handler: (@Sendable (UNNotificationContent) -> Void)?
    :
 98 |     }
 99 |
100 |     func callAsFunction(_ content: UNNotificationContent) {
    |          |                         `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
101 |         lock.lock()
102 |         let handler = self.handler
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/UANotificationServiceExtension.swift:109:11: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
107 | }
108 |
109 | extension UNNotificationRequest {
    | |         `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    | `- note: add '@available' attribute to enclosing extension
110 |     fileprivate static let airshipMediaAttachment = "com.urbanairship.media_attachment"
111 |
[92/130] Compiling AirshipNotificationServiceExtension AirshipExtensionLogger.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:32: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
198 |     }
199 |
200 |     private static let logger: Logger = Logger(
    |                        |       `- error: 'Logger' is only available in macOS 11.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
201 |         subsystem: Bundle.main.bundleIdentifier ?? "",
202 |         category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:200:41: error: 'Logger' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
198 |     }
199 |
200 |     private static let logger: Logger = Logger(
    |                        |                `- error: 'Logger' is only available in macOS 11.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
201 |         subsystem: Bundle.main.bundleIdentifier ?? "",
202 |         category: "AirshipNotificationExtension"
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:215:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
203 |     )
204 |
205 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
206 |         logLevel: AirshipExtensionLogLevel,
207 |         message: String,
    :
213 |         if (logPublic) {
214 |             Self.logger.notice(
215 |                 "\(logMessage, privacy: .public)"
    |                 |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                 `- note: add 'if #available' version check
216 |             )
217 |         } else {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:215:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
203 |     )
204 |
205 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
206 |         logLevel: AirshipExtensionLogLevel,
207 |         message: String,
    :
213 |         if (logPublic) {
214 |             Self.logger.notice(
215 |                 "\(logMessage, privacy: .public)"
    |                   |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
    |                   `- note: add 'if #available' version check
216 |             )
217 |         } else {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:220:17: error: 'OSLogMessage' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
203 |     )
204 |
205 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
206 |         logLevel: AirshipExtensionLogLevel,
207 |         message: String,
    :
218 |             Self.logger.log(
219 |                 level: logLevel.logType,
220 |                 "\(logMessage, privacy: .private)"
    |                 |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                 `- note: add 'if #available' version check
221 |             )
222 |         }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipExtensionLogger.swift:220:19: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
190 |
191 |
192 | public final class DefaultAirshipExtensionLogHandler: AirshipExtensionLogHandler {
    |                    `- note: add '@available' attribute to enclosing class
193 |
194 |     private let logPublic: Bool
    :
203 |     )
204 |
205 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
206 |         logLevel: AirshipExtensionLogLevel,
207 |         message: String,
    :
218 |             Self.logger.log(
219 |                 level: logLevel.logType,
220 |                 "\(logMessage, privacy: .private)"
    |                   |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
    |                   `- note: add 'if #available' version check
221 |             )
222 |         }
[93/130] Compiling AirshipNotificationServiceExtension AirshipNotificationMutationProvider.swift
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:220:40: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
212 | }
213 |
214 | struct AirshipNotificationMutations: Sendable {
    |        `- note: add '@available' attribute to enclosing struct
215 |     var title: String?
216 |     var subtitle: String?
    :
218 |     var attachments: [AirshipAttachment]
219 |
220 |     func apply(to notificationContent: UNMutableNotificationContent) throws {
    |          |                             `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
221 |         // Text overrides land first: a rejected attachment must never cost the
222 |         // notification its title/subtitle/body.
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:253:33: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
246 |
247 |
248 | struct AirshipAttachment: Sendable {
    |        `- note: add '@available' attribute to enclosing struct
249 |     var identifier: String
250 |     var url: URL
251 |     var options: [String : any Sendable]
252 |
253 |     var notificationAttachment: UNNotificationAttachment {
    |         |                       `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |         `- note: add '@available' attribute to enclosing property
254 |         get throws {
255 |             try UNNotificationAttachment(
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:18:13: error: 'Task' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 15 |     }
 16 |
 17 |     func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         try Task.checkCancellation()
    |             |- error: 'Task' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 19 |
 20 |         // Downloads run concurrently, but results must come back in the authored
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:18:18: error: 'checkCancellation()' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 15 |     }
 16 |
 17 |     func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         try Task.checkCancellation()
    |                  |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 19 |
 20 |         // Downloads run concurrently, but results must come back in the authored
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:26:21: error: 'Task' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 15 |     }
 16 |
 17 |     func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         try Task.checkCancellation()
 19 |
    :
 24 |         let results = await Self.concurrentMapPreservingOrder(args.media) { [weak self, args, logger] media -> AirshipAttachment? in
 25 |             do {
 26 |                 try Task.checkCancellation()
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 27 |                 return try await self?.load(
 28 |                     attachment: media,
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:26:26: error: 'checkCancellation()' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 15 |     }
 16 |
 17 |     func mutations(for args: MediaAttachmentPayload) async throws -> AirshipNotificationMutations? {
    |          `- note: add '@available' attribute to enclosing instance method
 18 |         try Task.checkCancellation()
 19 |
    :
 24 |         let results = await Self.concurrentMapPreservingOrder(args.media) { [weak self, args, logger] media -> AirshipAttachment? in
 25 |             do {
 26 |                 try Task.checkCancellation()
    |                          |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 27 |                 return try await self?.load(
 28 |                     attachment: media,
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:52:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 46 |     /// Runs `transform` concurrently for every element, but returns the results in the
 47 |     /// same order as `elements` regardless of which task finishes first.
 48 |     static func concurrentMapPreservingOrder<Element: Sendable, Result: Sendable>(
    |                 `- note: add '@available' attribute to enclosing static method
 49 |         _ elements: [Element],
 50 |         transform: @escaping @Sendable (Element) async -> Result
 51 |     ) async -> [Result] {
 52 |         await withTaskGroup(of: (Int, Result).self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 53 |             for (index, element) in elements.enumerated() {
 54 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:54:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 46 |     /// Runs `transform` concurrently for every element, but returns the results in the
 47 |     /// same order as `elements` regardless of which task finishes first.
 48 |     static func concurrentMapPreservingOrder<Element: Sendable, Result: Sendable>(
    |                 `- note: add '@available' attribute to enclosing static method
 49 |         _ elements: [Element],
 50 |         transform: @escaping @Sendable (Element) async -> Result
    :
 52 |         await withTaskGroup(of: (Int, Result).self) { group in
 53 |             for (index, element) in elements.enumerated() {
 54 |                 group.addTask {
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 55 |                     (index, await transform(element))
 56 |                 }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:60:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 46 |     /// Runs `transform` concurrently for every element, but returns the results in the
 47 |     /// same order as `elements` regardless of which task finishes first.
 48 |     static func concurrentMapPreservingOrder<Element: Sendable, Result: Sendable>(
    |                 `- note: add '@available' attribute to enclosing static method
 49 |         _ elements: [Element],
 50 |         transform: @escaping @Sendable (Element) async -> Result
    :
 58 |
 59 |             var results = [Result?](repeating: nil, count: elements.count)
 60 |             for await (index, result) in group {
    |             |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 61 |                 results[index] = result
 62 |             }
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:52:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:52:28: note: expanded code originates here
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 46 |     /// Runs `transform` concurrently for every element, but returns the results in the
 47 |     /// same order as `elements` regardless of which task finishes first.
 48 |     static func concurrentMapPreservingOrder<Element: Sendable, Result: Sendable>(
    |                 `- note: add '@available' attribute to enclosing static method
 49 |         _ elements: [Element],
 50 |         transform: @escaping @Sendable (Element) async -> Result
 51 |     ) async -> [Result] {
 52 |         await withTaskGroup(of: (Int, Result).self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift
    |50 |
    |51 |
    |52 |                            #isolation
    |   |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------------------------------------------------------------
 53 |             for (index, element) in elements.enumerated() {
 54 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:74:13: error: 'Task' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 66 |     }
 67 |
 68 |     private func load(
    |                  `- note: add '@available' attribute to enclosing instance method
 69 |         attachment: MediaAttachmentPayload.ContentMedia,
 70 |         defaultOptions: MediaAttachmentPayload.PayloadOptions,
    :
 72 |     ) async throws -> AirshipAttachment {
 73 |
 74 |         try Task.checkCancellation()
    |             |- error: 'Task' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 75 |
 76 |         logger.debug("Downloading attachment \(attachment.url)")
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:74:18: error: 'checkCancellation()' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 66 |     }
 67 |
 68 |     private func load(
    |                  `- note: add '@available' attribute to enclosing instance method
 69 |         attachment: MediaAttachmentPayload.ContentMedia,
 70 |         defaultOptions: MediaAttachmentPayload.PayloadOptions,
    :
 72 |     ) async throws -> AirshipAttachment {
 73 |
 74 |         try Task.checkCancellation()
    |                  |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 75 |
 76 |         logger.debug("Downloading attachment \(attachment.url)")
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:82:13: error: 'Task' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 66 |     }
 67 |
 68 |     private func load(
    |                  `- note: add '@available' attribute to enclosing instance method
 69 |         attachment: MediaAttachmentPayload.ContentMedia,
 70 |         defaultOptions: MediaAttachmentPayload.PayloadOptions,
    :
 80 |         logger.debug("Downloading attachment result: \(response)")
 81 |
 82 |         try Task.checkCancellation()
    |             |- error: 'Task' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 83 |
 84 |         if let httpResponse = response as? HTTPURLResponse, !(200...299).contains(httpResponse.statusCode) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:82:18: error: 'checkCancellation()' is only available in macOS 10.15 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
 66 |     }
 67 |
 68 |     private func load(
    |                  `- note: add '@available' attribute to enclosing instance method
 69 |         attachment: MediaAttachmentPayload.ContentMedia,
 70 |         defaultOptions: MediaAttachmentPayload.PayloadOptions,
    :
 80 |         logger.debug("Downloading attachment result: \(response)")
 81 |
 82 |         try Task.checkCancellation()
    |                  |- error: 'checkCancellation()' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 83 |
 84 |         if let httpResponse = response as? HTTPURLResponse, !(200...299).contains(httpResponse.statusCode) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:121:28: error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
103 |     }
104 |
105 |     private func makeAttachement(
    |                  `- note: add '@available' attribute to enclosing instance method
106 |         localURL: URL,
107 |         remoteURL: URL,
    :
119 |
120 |         if !hasExtension, let hint = hintMimeType(for: fileURL, mimeType: mimeType) {
121 |             mutableOptions[UNNotificationAttachmentOptionsTypeHintKey] = hint
    |                            |- error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
    |                            `- note: add 'if #available' version check
122 |         }
123 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:130:23: error: 'UTType' is only available in macOS 11.0 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
125 |     }
126 |
127 |     private func hintMimeType(for file: URL, mimeType: String?) -> String? {
    |                  `- note: add '@available' attribute to enclosing instance method
128 |         if
129 |             let type = mimeType,
130 |             let uti = UTType(mimeType: type),
    |                       |- error: 'UTType' is only available in macOS 11.0 or newer
    |                       `- note: add 'if #available' version check
131 |             let fileExtension = uti.preferredFilenameExtension,
132 |             Self.supportedExtensions.contains(fileExtension) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:130:23: error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
125 |     }
126 |
127 |     private func hintMimeType(for file: URL, mimeType: String?) -> String? {
    |                  `- note: add '@available' attribute to enclosing instance method
128 |         if
129 |             let type = mimeType,
130 |             let uti = UTType(mimeType: type),
    |                       |- error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
    |                       `- note: add 'if #available' version check
131 |             let fileExtension = uti.preferredFilenameExtension,
132 |             Self.supportedExtensions.contains(fileExtension) {
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:131:37: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
125 |     }
126 |
127 |     private func hintMimeType(for file: URL, mimeType: String?) -> String? {
    |                  `- note: add '@available' attribute to enclosing instance method
128 |         if
129 |             let type = mimeType,
130 |             let uti = UTType(mimeType: type),
131 |             let fileExtension = uti.preferredFilenameExtension,
    |                                     |- error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
132 |             Self.supportedExtensions.contains(fileExtension) {
133 |             return uti.identifier
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:133:24: error: 'identifier' is only available in macOS 11.0 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
125 |     }
126 |
127 |     private func hintMimeType(for file: URL, mimeType: String?) -> String? {
    |                  `- note: add '@available' attribute to enclosing instance method
128 |         if
129 |             let type = mimeType,
    :
131 |             let fileExtension = uti.preferredFilenameExtension,
132 |             Self.supportedExtensions.contains(fileExtension) {
133 |             return uti.identifier
    |                        |- error: 'identifier' is only available in macOS 11.0 or newer
    |                        `- note: add 'if #available' version check
134 |         }
135 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:162:34: error: 'download(from:delegate:)' is only available in macOS 12.0 or newer
  6 | #if !os(tvOS)
  7 |
  8 | final class AirshipNotificationMutationProvider: Sendable {
    |             `- note: add '@available' attribute to enclosing class
  9 |
 10 |     static let supportedExtensions = ["jpg", "jpeg", "png", "gif", "aif", "aiff", "mp3", "mpg", "mpeg", "mp4", "m4a", "wav", "avi"]
    :
152 |     }
153 |
154 |     private func download(url: URL) async throws -> (URL, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
155 |         let session = URLSession(
156 |             configuration: .default,
    :
160 |         defer { session.finishTasksAndInvalidate() }
161 |
162 |         return try await session.download(from: url)
    |                                  |- error: 'download(from:delegate:)' is only available in macOS 12.0 or newer
    |                                  `- note: add 'if #available' version check
163 |     }
164 |
/Users/admin/builder/spi-builder-workspace/AirshipExtensions/AirshipNotificationServiceExtension/Source/AirshipNotificationMutationProvider.swift:255:17: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
246 |
247 |
248 | struct AirshipAttachment: Sendable {
    |        `- note: add '@available' attribute to enclosing struct
249 |     var identifier: String
250 |     var url: URL
251 |     var options: [String : any Sendable]
252 |
253 |     var notificationAttachment: UNNotificationAttachment {
    |         `- note: add '@available' attribute to enclosing property
254 |         get throws {
255 |             try UNNotificationAttachment(
    |                 |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |                 `- note: add 'if #available' version check
256 |                 identifier: self.identifier,
257 |                 url: self.url,
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Airship/AirshipFoundationModels/Tests': File not found.
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/AirshipExtensions/AirshipNotificationServiceExtension/airship.jpg
warning: 'spi-builder-workspace': found 14 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/App State/AppStateTrackerTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Utils/AirshipDate.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Json/Predicate/AirshipIvyVersionMatcherTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/UI/AirshipImageDataTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Utils/AirshipObservableTimerTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Json/Predicate/JSONPredicateTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Utils/AirshipDateFormatterTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Utils/AishipFontTests.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Json/AirshipJSONTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Json/Predicate/JsonMatcherTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Utils/AirshipVersionUtilsTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Utils/DefaultTaskSleeperTest.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Utils/AirshipColorTests.swift
    /Users/admin/builder/spi-builder-workspace/Airship/AirshipBasement/Tests/Json/Predicate/JsonValueMatcherTest.swift
BUILD FAILURE 6.3 macosSpm