The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IterableSDK, reference 6.7.1 (778d0a), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 21:26:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Iterable/iterable-swift-sdk.git
Reference: 6.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Iterable/iterable-swift-sdk
 * tag               6.7.1      -> FETCH_HEAD
HEAD is now at 778d0a9 SDK-409: Prepare for Release 6.7.1 (#1026)
Cloned https://github.com/Iterable/iterable-swift-sdk.git
Revision (git rev-parse @):
778d0a9a13387d932682a6bf2eecea0c2fc64fbd
SUCCESS checkout https://github.com/Iterable/iterable-swift-sdk.git at 6.7.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "iterable-swift-sdk",
      "name": "IterableSDK",
      "url": "https://github.com/Iterable/iterable-swift-sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iterable-swift-sdk",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Iterable/iterable-swift-sdk.git
[1/34322] Fetching iterable-swift-sdk
Fetched https://github.com/Iterable/iterable-swift-sdk.git from cache (2.78s)
Creating working copy for https://github.com/Iterable/iterable-swift-sdk.git
Working copy of https://github.com/Iterable/iterable-swift-sdk.git resolved at 6.7.1 (778d0a9)
warning: '.resolve-product-dependencies': dependency 'iterable-swift-sdk' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Iterable/iterable-swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[2/9] Copying PrivacyInfo.xcprivacy
[2/9] Copying anoncriteria_response.json
[2/9] Copying SampleInboxCell.xib
[4/9] Copying IterableEmbeddedView.xib
[6/9] Copying IterableDataModel.xcdatamodeld
[7/9] Copying Assets.xcassets
[8/9] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/130] Compiling IterableAppExtensions NotificationExtensionConstants.swift
[11/130] Emitting module IterableAppExtensions
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:51: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
  5 | import UserNotifications
  6 |
  7 | public protocol ITBNotificationServiceExtensionDelegate {
    |                 `- note: add '@available' attribute to enclosing protocol
  8 |     func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
    |          |                                        `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
  9 | }
 10 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:94: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
  5 | import UserNotifications
  6 |
  7 | public protocol ITBNotificationServiceExtensionDelegate {
    |                 `- note: add '@available' attribute to enclosing protocol
  8 |     func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
    |          |                                                                                   `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
  9 | }
 10 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:151: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  5 | import UserNotifications
  6 |
  7 | public protocol ITBNotificationServiceExtensionDelegate {
    |                 `- note: add '@available' attribute to enclosing protocol
  8 |     func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
    |          |                                                                                                                                            `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
  9 | }
 10 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:12:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
    |                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 |     var bestAttemptContent: UNMutableNotificationContent?
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:13:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    |                             `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
 15 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:52: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
 15 |
 16 |     @objc override open func didReceive(_ request: UNNotificationRequest,
    |                              |                     `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    |                              `- note: add '@available' attribute to enclosing instance method
 17 |                                         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
 18 |         self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:17:87: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
 15 |
 16 |     @objc override open func didReceive(_ request: UNNotificationRequest,
    |                              `- note: add '@available' attribute to enclosing instance method
 17 |                                         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
    |                                                                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 18 |         self.contentHandler = contentHandler
 19 |         bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:54:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
 52 |     // MARK: - Private
 53 |
 54 |     private func retrieveAttachment(from content: UNNotificationContent) {
    |                  |                                `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 55 |         guard let metadata = content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any],
 56 |               let attachmentUrlString = metadata[JsonKey.Payload.attachmentUrl] as? String,
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:108:48: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
106 |     /// and add this newly created category to list of system categories.
107 |     /// After that we set `categoryId` to messageId.
108 |     private func resolveCategory(from content: UNNotificationContent) {
    |                  |                             `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
109 |         guard content.categoryIdentifier.count == 0 else {
110 |             setCategoryId(id: content.categoryIdentifier)
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:50: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
124 |     }
125 |
126 |     private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
    |                         |                        `- error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
127 |         UNUserNotificationCenter.current().getNotificationCategories { categories in
128 |             var newCategories = categories
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:180:34: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
178 |     }
179 |
180 |     private var messageCategory: UNNotificationCategory?
    |                                  `- error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
181 |     private var attachmentDownloadTask: URLSessionDownloadTask?
182 | }
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:51: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  |                                `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:9:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
    |                 |                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
 11 |     }
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:13:52: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
 11 |     }
 12 |
 13 |     static func getIterableMessageId(from content: UNNotificationContent) -> String? {
    |                 |                                  `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 14 |         guard let metadata = getIterableMetadata(from: content) else {
 15 |             return nil
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:54: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 19 |     }
 20 |
 21 |     static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
    |                 |                                    `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 22 |         getActionButtonsJsonArray(from: content)
 23 |             .compactMap { createNotificationActionButton(from: $0) }
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:81: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 19 |     }
 20 |
 21 |     static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
    |                 |                                                               `- error: 'UNNotificationAction' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 22 |         getActionButtonsJsonArray(from: content)
 23 |             .compactMap { createNotificationActionButton(from: $0) }
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:26:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 24 |     }
 25 |
 26 |     private static func getActionButtonsJsonArray(from content: UNNotificationContent) -> [[AnyHashable: Any]] {
    |                         |                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
 27 |         var jsonArray: [[AnyHashable: Any]] = []
 28 |         if let metadata = getIterableMetadata(from: content),
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:90: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 39 |     }
 40 |
 41 |     private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
    |                         |                                                                `- error: 'UNNotificationAction' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
 42 |         guard let button = createActionButton(from: json) else {
 43 |             return nil
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:103:77: error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
101 |     }
102 |
103 |     private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
    |                         |                                                   `- error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
104 |         var options: UNNotificationActionOptions = []
105 |
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:86: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
120 |
121 |     @available(iOS 15.0, *)
122 |     private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
    |                         |                                                            `- error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
    |                         `- note: add '@available' attribute to enclosing static method
123 |         guard let actionIcon = button.actionIcon else {
124 |             return nil
[12/130] Compiling IterableAppExtensions TestFile.swift
[13/130] Compiling IterableAppExtensions ITBNotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:51: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
  5 | import UserNotifications
  6 |
  7 | public protocol ITBNotificationServiceExtensionDelegate {
    |                 `- note: add '@available' attribute to enclosing protocol
  8 |     func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
    |          |                                        `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
  9 | }
 10 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:94: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
  5 | import UserNotifications
  6 |
  7 | public protocol ITBNotificationServiceExtensionDelegate {
    |                 `- note: add '@available' attribute to enclosing protocol
  8 |     func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
    |          |                                                                                   `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
  9 | }
 10 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:151: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  5 | import UserNotifications
  6 |
  7 | public protocol ITBNotificationServiceExtensionDelegate {
    |                 `- note: add '@available' attribute to enclosing protocol
  8 |     func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
    |          |                                                                                                                                            `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |          `- note: add '@available' attribute to enclosing instance method
  9 | }
 10 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:12:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
    |                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 |     var bestAttemptContent: UNMutableNotificationContent?
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:13:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    |                             `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
 15 |
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:52: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
 15 |
 16 |     @objc override open func didReceive(_ request: UNNotificationRequest,
    |                              |                     `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    |                              `- note: add '@available' attribute to enclosing instance method
 17 |                                         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
 18 |         self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:17:87: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
 15 |
 16 |     @objc override open func didReceive(_ request: UNNotificationRequest,
    |                              `- note: add '@available' attribute to enclosing instance method
 17 |                                         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
    |                                                                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 18 |         self.contentHandler = contentHandler
 19 |         bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:54:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
 52 |     // MARK: - Private
 53 |
 54 |     private func retrieveAttachment(from content: UNNotificationContent) {
    |                  |                                `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 55 |         guard let metadata = content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any],
 56 |               let attachmentUrlString = metadata[JsonKey.Payload.attachmentUrl] as? String,
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:108:48: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
106 |     /// and add this newly created category to list of system categories.
107 |     /// After that we set `categoryId` to messageId.
108 |     private func resolveCategory(from content: UNNotificationContent) {
    |                  |                             `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
109 |         guard content.categoryIdentifier.count == 0 else {
110 |             setCategoryId(id: content.categoryIdentifier)
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:50: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
124 |     }
125 |
126 |     private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
    |                         |                        `- error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
127 |         UNUserNotificationCenter.current().getNotificationCategories { categories in
128 |             var newCategories = categories
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:180:34: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
178 |     }
179 |
180 |     private var messageCategory: UNNotificationCategory?
    |                                  `- error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
181 |     private var attachmentDownloadTask: URLSessionDownloadTask?
182 | }
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:51: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  |                                `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:19:65: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
 14 |     public static var itblNotificationDelegate: ITBNotificationServiceExtensionDelegate?
 15 |
 16 |     @objc override open func didReceive(_ request: UNNotificationRequest,
    |                              `- note: add '@available' attribute to enclosing instance method
 17 |                                         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
 18 |         self.contentHandler = contentHandler
 19 |         bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
    |                                                                 |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
    |                                                                 `- note: add 'if #available' version check
 20 |
 21 |         if let itblNotificationDelegate = ITBNotificationServiceExtension.itblNotificationDelegate,
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:79:29: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
 66 |     }
 67 |
 68 |     private func createAttachmentDownloadTask(url: URL) -> URLSessionDownloadTask {
    |                  `- note: add '@available' attribute to enclosing instance method
 69 |         return URLSession.shared.downloadTask(with: url) { [weak self] location, response, error in
 70 |             guard let strongSelf = self, error == nil, let response = response, let responseUrl = response.url, let location = location else {
    :
 77 |             let tempFileUrl = FileManager.default.temporaryDirectory.appendingPathComponent(attachmentId)
 78 |
 79 |             var attachment: UNNotificationAttachment?
    |                             |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |                             `- note: add 'if #available' version check
 80 |
 81 |             do {
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:83:34: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
 66 |     }
 67 |
 68 |     private func createAttachmentDownloadTask(url: URL) -> URLSessionDownloadTask {
    |                  `- note: add '@available' attribute to enclosing instance method
 69 |         return URLSession.shared.downloadTask(with: url) { [weak self] location, response, error in
 70 |             guard let strongSelf = self, error == nil, let response = response, let responseUrl = response.url, let location = location else {
    :
 81 |             do {
 82 |                 try FileManager.default.moveItem(at: location, to: tempFileUrl)
 83 |                 attachment = try UNNotificationAttachment(identifier: attachmentId, url: tempFileUrl, options: nil)
    |                                  |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |                                  `- note: add 'if #available' version check
 84 |             } catch {
 85 |                 self?.attachmentRetrievalFinished = true
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:118:24: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
106 |     /// and add this newly created category to list of system categories.
107 |     /// After that we set `categoryId` to messageId.
108 |     private func resolveCategory(from content: UNNotificationContent) {
    |                  `- note: add '@available' attribute to enclosing instance method
109 |         guard content.categoryIdentifier.count == 0 else {
110 |             setCategoryId(id: content.categoryIdentifier)
    :
116 |         }
117 |
118 |         let category = UNNotificationCategory(identifier: messageId,
    |                        |- error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
119 |                                               actions: NotificationContentParser.getNotificationActions(from: content),
120 |                                               intentIdentifiers: [],
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:127:9: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
124 |     }
125 |
126 |     private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
    |                         `- note: add '@available' attribute to enclosing static method
127 |         UNUserNotificationCenter.current().getNotificationCategories { categories in
    |         |- error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
    |         `- note: add 'if #available' version check
128 |             var newCategories = categories
129 |             newCategories.insert(category)
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:130:13: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
  9 | }
 10 |
 11 | @objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
    |                  `- note: add '@available' attribute to enclosing class
 12 |     var contentHandler: ((UNNotificationContent) -> Void)?
 13 |     var bestAttemptContent: UNMutableNotificationContent?
    :
124 |     }
125 |
126 |     private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
    |                         `- note: add '@available' attribute to enclosing static method
127 |         UNUserNotificationCenter.current().getNotificationCategories { categories in
128 |             var newCategories = categories
129 |             newCategories.insert(category)
130 |             UNUserNotificationCenter.current().setNotificationCategories(newCategories)
    |             |- error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
    |             `- note: add 'if #available' version check
131 |             afterCategoryCreated?()
132 |         }
[14/130] Compiling IterableAppExtensions NotificationContentParser.swift
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:9:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
    |                 |                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
 11 |     }
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:13:52: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
 11 |     }
 12 |
 13 |     static func getIterableMessageId(from content: UNNotificationContent) -> String? {
    |                 |                                  `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 14 |         guard let metadata = getIterableMetadata(from: content) else {
 15 |             return nil
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:54: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 19 |     }
 20 |
 21 |     static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
    |                 |                                    `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 22 |         getActionButtonsJsonArray(from: content)
 23 |             .compactMap { createNotificationActionButton(from: $0) }
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:81: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 19 |     }
 20 |
 21 |     static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
    |                 |                                                               `- error: 'UNNotificationAction' is only available in macOS 10.14 or newer
    |                 `- note: add '@available' attribute to enclosing static method
 22 |         getActionButtonsJsonArray(from: content)
 23 |             .compactMap { createNotificationActionButton(from: $0) }
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:26:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 24 |     }
 25 |
 26 |     private static func getActionButtonsJsonArray(from content: UNNotificationContent) -> [[AnyHashable: Any]] {
    |                         |                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
 27 |         var jsonArray: [[AnyHashable: Any]] = []
 28 |         if let metadata = getIterableMetadata(from: content),
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:90: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 39 |     }
 40 |
 41 |     private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
    |                         |                                                                `- error: 'UNNotificationAction' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
 42 |         guard let button = createActionButton(from: json) else {
 43 |             return nil
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:103:77: error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
101 |     }
102 |
103 |     private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
    |                         |                                                   `- error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
104 |         var options: UNNotificationActionOptions = []
105 |
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:86: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
120 |
121 |     @available(iOS 15.0, *)
122 |     private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
    |                         |                                                            `- error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
    |                         `- note: add '@available' attribute to enclosing static method
123 |         guard let actionIcon = button.actionIcon else {
124 |             return nil
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:48:24: error: 'UNTextInputNotificationAction' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 39 |     }
 40 |
 41 |     private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
    |                         `- note: add '@available' attribute to enclosing static method
 42 |         guard let button = createActionButton(from: json) else {
 43 |             return nil
    :
 46 |         if button.buttonType == .textInput {
 47 |             if #available(iOS 15.0, *) {
 48 |                 return UNTextInputNotificationAction(identifier: button.identifier,
    |                        |- error: 'UNTextInputNotificationAction' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
 49 |                                                      title: button.title,
 50 |                                                      options: getOptions(forActionButton: button),
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:48:24: error: 'init(identifier:title:options:icon:textInputButtonTitle:textInputPlaceholder:)' is only available in macOS 12.0 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 39 |     }
 40 |
 41 |     private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
    |                         `- note: add '@available' attribute to enclosing static method
 42 |         guard let button = createActionButton(from: json) else {
 43 |             return nil
    :
 46 |         if button.buttonType == .textInput {
 47 |             if #available(iOS 15.0, *) {
 48 |                 return UNTextInputNotificationAction(identifier: button.identifier,
    |                        |- error: 'init(identifier:title:options:icon:textInputButtonTitle:textInputPlaceholder:)' is only available in macOS 12.0 or newer
    |                        `- note: add 'if #available' version check
 49 |                                                      title: button.title,
 50 |                                                      options: getOptions(forActionButton: button),
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:63:24: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 39 |     }
 40 |
 41 |     private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
    |                         `- note: add '@available' attribute to enclosing static method
 42 |         guard let button = createActionButton(from: json) else {
 43 |             return nil
    :
 61 |         } else {
 62 |             if #available(iOS 15.0, *) {
 63 |                 return UNNotificationAction(identifier: button.identifier,
    |                        |- error: 'UNNotificationAction' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
 64 |                                             title: button.title,
 65 |                                             options: getOptions(forActionButton: button),
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:63:24: error: 'init(identifier:title:options:icon:)' is only available in macOS 12.0 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
 39 |     }
 40 |
 41 |     private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
    |                         `- note: add '@available' attribute to enclosing static method
 42 |         guard let button = createActionButton(from: json) else {
 43 |             return nil
    :
 61 |         } else {
 62 |             if #available(iOS 15.0, *) {
 63 |                 return UNNotificationAction(identifier: button.identifier,
    |                        |- error: 'init(identifier:title:options:icon:)' is only available in macOS 12.0 or newer
    |                        `- note: add 'if #available' version check
 64 |                                             title: button.title,
 65 |                                             options: getOptions(forActionButton: button),
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:104:22: error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
101 |     }
102 |
103 |     private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
    |                         `- note: add '@available' attribute to enclosing static method
104 |         var options: UNNotificationActionOptions = []
    |                      |- error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
    |                      `- note: add 'if #available' version check
105 |
106 |         if button.buttonType == ButtonType.destructive {
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:127:20: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
120 |
121 |     @available(iOS 15.0, *)
122 |     private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
    |                         `- note: add '@available' attribute to enclosing static method
123 |         guard let actionIcon = button.actionIcon else {
124 |             return nil
125 |         }
126 |         if actionIcon.iconType == .systemImage {
127 |             return UNNotificationActionIcon(systemImageName: actionIcon.imageName)
    |                    |- error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
    |                    `- note: add 'if #available' version check
128 |         } else {
129 |             return UNNotificationActionIcon(templateImageName: actionIcon.imageName)
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:129:20: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
  6 | import UserNotifications
  7 |
  8 | struct NotificationContentParser {
    |        `- note: add '@available' attribute to enclosing struct
  9 |     static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
 10 |         content.userInfo[JsonKey.Payload.metadata] as? [AnyHashable: Any]
    :
120 |
121 |     @available(iOS 15.0, *)
122 |     private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
    |                         `- note: add '@available' attribute to enclosing static method
123 |         guard let actionIcon = button.actionIcon else {
124 |             return nil
    :
127 |             return UNNotificationActionIcon(systemImageName: actionIcon.imageName)
128 |         } else {
129 |             return UNNotificationActionIcon(templateImageName: actionIcon.imageName)
    |                    |- error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
    |                    `- note: add 'if #available' version check
130 |         }
131 |     }
BUILD FAILURE 6.3 macosSpm