The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppAmbitSdk, reference 1.2.0 (75ba2f), with Swift 6.3 for macOS (SPM) on 22 Aug 2026 01:15:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AppAmbit/appambit-sdk-ios.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AppAmbit/appambit-sdk-ios
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 75ba2ff Merge pull request #100 from AppAmbit/develop
Cloned https://github.com/AppAmbit/appambit-sdk-ios.git
Revision (git rev-parse @):
75ba2fff0abd785d7e442cf1711d62830caa08bb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AppAmbit/appambit-sdk-ios.git at 1.2.0
========================================
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": "appambit-sdk-ios",
      "name": "AppAmbitSdk",
      "url": "https://github.com/AppAmbit/appambit-sdk-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/appambit-sdk-ios",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AppAmbit/appambit-sdk-ios.git
[1/3584] Fetching appambit-sdk-ios
Fetched https://github.com/AppAmbit/appambit-sdk-ios.git from cache (1.31s)
Creating working copy for https://github.com/AppAmbit/appambit-sdk-ios.git
Working copy of https://github.com/AppAmbit/appambit-sdk-ios.git resolved at 1.2.0 (75ba2ff)
warning: '.resolve-product-dependencies': dependency 'appambit-sdk-ios' 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/AppAmbit/appambit-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-69A768CDF2A0BEE1.txt
[5/119] Compiling AppAmbitPushNotificationsExtension PushLogger.swift
[6/119] Compiling AppAmbitPushNotificationsExtension AppAmbitNotificationService.swift
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:14:35: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
14 |     private var contentHandler: ((UNNotificationContent) -> Void)?
   |                                   `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
15 |     private var bestAttemptContent: UNMutableNotificationContent?
16 |
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:15:37: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
14 |     private var contentHandler: ((UNNotificationContent) -> Void)?
15 |     private var bestAttemptContent: UNMutableNotificationContent?
   |                                     `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
16 |
17 |     open override func didReceive(_ request: UNNotificationRequest,
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:17:46: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
15 |     private var bestAttemptContent: UNMutableNotificationContent?
16 |
17 |     open override func didReceive(_ request: UNNotificationRequest,
   |                        |                     `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
   |                        `- note: add '@available' attribute to enclosing instance method
18 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
19 |         self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:18:81: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
15 |     private var bestAttemptContent: UNMutableNotificationContent?
16 |
17 |     open override func didReceive(_ request: UNNotificationRequest,
   |                        `- note: add '@available' attribute to enclosing instance method
18 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
   |                                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 |         self.contentHandler = contentHandler
20 |         self.bestAttemptContent = request.content.mutableCopy() as? UNMutableNotificationContent
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:40:38: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
37 |
38 |     /// Hook for subclasses to mutate `content` before delivery. Default: no-op.
39 |     open func handlePayload(_ notification: AppAmbitNotification,
   |               `- note: add '@available' attribute to enclosing instance method
40 |                             content: UNMutableNotificationContent) {
   |                                      `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
41 |         // Subclasses can mutate content here before delivery.
42 |     }
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:45:47: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
42 |     }
43 |
44 |     private func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                  `- note: add '@available' attribute to enclosing instance method
45 |                                      content: UNMutableNotificationContent,
   |                                               `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
46 |                                      contentHandler: @escaping (UNNotificationContent) -> Void) {
47 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:46:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
42 |     }
43 |
44 |     private func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                  `- note: add '@available' attribute to enclosing instance method
45 |                                      content: UNMutableNotificationContent,
46 |                                      contentHandler: @escaping (UNNotificationContent) -> Void) {
   |                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
47 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
48 |                contentHandler(content)
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:11:41: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            |                            `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:20:69: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
15 |     private var bestAttemptContent: UNMutableNotificationContent?
16 |
17 |     open override func didReceive(_ request: UNNotificationRequest,
   |                        `- note: add '@available' attribute to enclosing instance method
18 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
19 |         self.contentHandler = contentHandler
20 |         self.bestAttemptContent = request.content.mutableCopy() as? UNMutableNotificationContent
   |                                                                     |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
   |                                                                     `- note: add 'if #available' version check
21 |
22 |         guard let content = bestAttemptContent else {
[7/119] Compiling AppAmbitPushNotificationsExtension AppAmbitNotificationProcessor.swift
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:11:18: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
10 |     public static func process(
   |                        `- note: add '@available' attribute to enclosing static method
11 |         request: UNNotificationRequest,
   |                  `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
12 |         contentHandler: @escaping (UNNotificationContent) -> Void,
13 |         handlePayload: ((AppAmbitNotification, UNMutableNotificationContent) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:12:36: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
10 |     public static func process(
   |                        `- note: add '@available' attribute to enclosing static method
11 |         request: UNNotificationRequest,
12 |         contentHandler: @escaping (UNNotificationContent) -> Void,
   |                                    `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
13 |         handlePayload: ((AppAmbitNotification, UNMutableNotificationContent) -> Void)? = nil
14 |     ) {
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:13:48: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
10 |     public static func process(
   |                        `- note: add '@available' attribute to enclosing static method
11 |         request: UNNotificationRequest,
12 |         contentHandler: @escaping (UNNotificationContent) -> Void,
13 |         handlePayload: ((AppAmbitNotification, UNMutableNotificationContent) -> Void)? = nil
   |                                                `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
14 |     ) {
15 |         PushLogger.log("Service Extension triggered.")
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:28:54: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
   :
25 |     }
26 |
27 |     private static func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                         `- note: add '@available' attribute to enclosing static method
28 |                                             content: UNMutableNotificationContent,
   |                                                      `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
29 |                                             contentHandler: @escaping (UNNotificationContent) -> Void) {
30 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:29:72: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
   :
25 |     }
26 |
27 |     private static func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                         `- note: add '@available' attribute to enclosing static method
28 |                                             content: UNMutableNotificationContent,
29 |                                             contentHandler: @escaping (UNNotificationContent) -> Void) {
   |                                                                        `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
30 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
31 |             contentHandler(content)
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:17:63: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
10 |     public static func process(
   |                        `- note: add '@available' attribute to enclosing static method
11 |         request: UNNotificationRequest,
12 |         contentHandler: @escaping (UNNotificationContent) -> Void,
   :
15 |         PushLogger.log("Service Extension triggered.")
16 |
17 |         guard let content = request.content.mutableCopy() as? UNMutableNotificationContent else {
   |                                                               |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
   |                                                               `- note: add 'if #available' version check
18 |             contentHandler(request.content)
19 |             return
[8/119] Compiling AppAmbitPushNotificationsExtension PushNotificationAttachments.swift
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/PushNotificationAttachments.swift:8:67: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 3 |
 4 | /// Helper for handling notification attachments.
 5 | public enum PushNotificationAttachments {
   |             `- note: add '@available' attribute to enclosing enum
 6 |
 7 |     public static func loadImageAttachment(from urlString: String,
   |                        `- note: add '@available' attribute to enclosing static method
 8 |                                            completion: @escaping (UNNotificationAttachment?) -> Void) {
   |                                                                   `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 9 |         guard let url = URL(string: urlString) else {
10 |             completion(nil)
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/PushNotificationAttachments.swift:44:67: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 3 |
 4 | /// Helper for handling notification attachments.
 5 | public enum PushNotificationAttachments {
   |             `- note: add '@available' attribute to enclosing enum
 6 |
 7 |     public static func loadImageAttachment(from urlString: String,
   :
41 |     }
42 |
43 |     public static func loadImageAttachment(for notification: AppAmbitNotification,
   |                        `- note: add '@available' attribute to enclosing static method
44 |                                            completion: @escaping (UNNotificationAttachment?) -> Void) {
   |                                                                   `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
45 |         guard let urlString = notification.imageUrl, !urlString.isEmpty else {
46 |             completion(nil)
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/PushNotificationAttachments.swift:28:38: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 3 |
 4 | /// Helper for handling notification attachments.
 5 | public enum PushNotificationAttachments {
   |             `- note: add '@available' attribute to enclosing enum
 6 |
 7 |     public static func loadImageAttachment(from urlString: String,
   |                        `- note: add '@available' attribute to enclosing static method
 8 |                                            completion: @escaping (UNNotificationAttachment?) -> Void) {
 9 |         guard let url = URL(string: urlString) else {
   :
26 |             do {
27 |                 try FileManager.default.moveItem(at: tempUrl, to: localUrl)
28 |                 let attachment = try UNNotificationAttachment(
   |                                      |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
   |                                      `- note: add 'if #available' version check
29 |                     identifier: "image",
30 |                     url: localUrl,
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/PushNotificationAttachments.swift:17:17: warning: capture of 'completion' with non-Sendable type '(UNNotificationAttachment?) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
15 |             guard let tempUrl, error == nil else {
16 |                 NSLog("[AppAmbitPushSDK] Download failed: %@", error?.localizedDescription ?? "Invalid URL")
17 |                 completion(nil)
   |                 |- warning: capture of 'completion' with non-Sendable type '(UNNotificationAttachment?) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
18 |                 return
19 |             }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[9/119] Compiling AppAmbit DbQueryBuilder.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[10/119] Compiling AppAmbit DbTypedQueryBuilder.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[11/119] Compiling AppAmbit ApiErrorType.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[12/119] Compiling AppAmbit ApiExceptions.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[13/119] Compiling AppAmbit CloudCodeError.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[14/119] Compiling AppAmbit CloudCodeHttpMethod.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[15/119] Compiling AppAmbit DatabaseErrorType.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[16/119] Compiling AppAmbit DbError.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[17/119] Compiling AppAmbit HttpMethod.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[18/119] Compiling AppAmbit LogType.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[19/119] Compiling AppAmbit MultipartValue.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[20/119] Compiling AppAmbit SQLiteError.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/131] Compiling AppAmbitPushNotificationsExtension AppAmbitNotification.swift
[22/131] Emitting module AppAmbitPushNotificationsExtension
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:11:18: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
10 |     public static func process(
   |                        `- note: add '@available' attribute to enclosing static method
11 |         request: UNNotificationRequest,
   |                  `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
12 |         contentHandler: @escaping (UNNotificationContent) -> Void,
13 |         handlePayload: ((AppAmbitNotification, UNMutableNotificationContent) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:12:36: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
10 |     public static func process(
   |                        `- note: add '@available' attribute to enclosing static method
11 |         request: UNNotificationRequest,
12 |         contentHandler: @escaping (UNNotificationContent) -> Void,
   |                                    `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
13 |         handlePayload: ((AppAmbitNotification, UNMutableNotificationContent) -> Void)? = nil
14 |     ) {
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:13:48: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
10 |     public static func process(
   |                        `- note: add '@available' attribute to enclosing static method
11 |         request: UNNotificationRequest,
12 |         contentHandler: @escaping (UNNotificationContent) -> Void,
13 |         handlePayload: ((AppAmbitNotification, UNMutableNotificationContent) -> Void)? = nil
   |                                                `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
14 |     ) {
15 |         PushLogger.log("Service Extension triggered.")
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:28:54: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
   :
25 |     }
26 |
27 |     private static func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                         `- note: add '@available' attribute to enclosing static method
28 |                                             content: UNMutableNotificationContent,
   |                                                      `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
29 |                                             contentHandler: @escaping (UNNotificationContent) -> Void) {
30 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationProcessor.swift:29:72: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 5 | @objc(AppAmbitNotificationProcessor)
 6 | @objcMembers
 7 | public final class AppAmbitNotificationProcessor: NSObject {
   |                    `- note: add '@available' attribute to enclosing class
 8 |
 9 |     @objc(processRequest:contentHandler:handlePayload:)
   :
25 |     }
26 |
27 |     private static func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                         `- note: add '@available' attribute to enclosing static method
28 |                                             content: UNMutableNotificationContent,
29 |                                             contentHandler: @escaping (UNNotificationContent) -> Void) {
   |                                                                        `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
30 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
31 |             contentHandler(content)
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:14:35: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
14 |     private var contentHandler: ((UNNotificationContent) -> Void)?
   |                                   `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
15 |     private var bestAttemptContent: UNMutableNotificationContent?
16 |
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:15:37: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
14 |     private var contentHandler: ((UNNotificationContent) -> Void)?
15 |     private var bestAttemptContent: UNMutableNotificationContent?
   |                                     `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
16 |
17 |     open override func didReceive(_ request: UNNotificationRequest,
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:17:46: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
15 |     private var bestAttemptContent: UNMutableNotificationContent?
16 |
17 |     open override func didReceive(_ request: UNNotificationRequest,
   |                        |                     `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
   |                        `- note: add '@available' attribute to enclosing instance method
18 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
19 |         self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:18:81: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
15 |     private var bestAttemptContent: UNMutableNotificationContent?
16 |
17 |     open override func didReceive(_ request: UNNotificationRequest,
   |                        `- note: add '@available' attribute to enclosing instance method
18 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
   |                                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 |         self.contentHandler = contentHandler
20 |         self.bestAttemptContent = request.content.mutableCopy() as? UNMutableNotificationContent
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:40:38: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
37 |
38 |     /// Hook for subclasses to mutate `content` before delivery. Default: no-op.
39 |     open func handlePayload(_ notification: AppAmbitNotification,
   |               `- note: add '@available' attribute to enclosing instance method
40 |                             content: UNMutableNotificationContent) {
   |                                      `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
41 |         // Subclasses can mutate content here before delivery.
42 |     }
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:45:47: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
42 |     }
43 |
44 |     private func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                  `- note: add '@available' attribute to enclosing instance method
45 |                                      content: UNMutableNotificationContent,
   |                                               `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
46 |                                      contentHandler: @escaping (UNNotificationContent) -> Void) {
47 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:46:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
   :
42 |     }
43 |
44 |     private func attachImageIfNeeded(_ notification: AppAmbitNotification,
   |                  `- note: add '@available' attribute to enclosing instance method
45 |                                      content: UNMutableNotificationContent,
46 |                                      contentHandler: @escaping (UNNotificationContent) -> Void) {
   |                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
47 |         guard let imageUrl = notification.imageUrl, !imageUrl.isEmpty else {
48 |                contentHandler(content)
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/AppAmbitNotificationService.swift:11:41: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
 9 | /// Override `handlePayload(_:content:)` to mutate notification content
10 | /// (title, body, badge, threadIdentifier, etc.) before delivery.
11 | open class AppAmbitNotificationService: UNNotificationServiceExtension {
   |            |                            `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
   |            `- note: add '@available' attribute to enclosing class
12 |     private static let tag = "[AppAmbitPushSDK]"
13 |
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/PushNotificationAttachments.swift:8:67: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 3 |
 4 | /// Helper for handling notification attachments.
 5 | public enum PushNotificationAttachments {
   |             `- note: add '@available' attribute to enclosing enum
 6 |
 7 |     public static func loadImageAttachment(from urlString: String,
   |                        `- note: add '@available' attribute to enclosing static method
 8 |                                            completion: @escaping (UNNotificationAttachment?) -> Void) {
   |                                                                   `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 9 |         guard let url = URL(string: urlString) else {
10 |             completion(nil)
/Users/admin/builder/spi-builder-workspace/PushExtensionSources/PushNotificationAttachments.swift:44:67: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 3 |
 4 | /// Helper for handling notification attachments.
 5 | public enum PushNotificationAttachments {
   |             `- note: add '@available' attribute to enclosing enum
 6 |
 7 |     public static func loadImageAttachment(from urlString: String,
   :
41 |     }
42 |
43 |     public static func loadImageAttachment(for notification: AppAmbitNotification,
   |                        `- note: add '@available' attribute to enclosing static method
44 |                                            completion: @escaping (UNNotificationAttachment?) -> Void) {
   |                                                                   `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
45 |         guard let urlString = notification.imageUrl, !urlString.isEmpty else {
46 |             completion(nil)
[23/131] Compiling AppAmbit SessionType.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[24/131] Compiling AppAmbit Logging.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[25/131] Compiling AppAmbit Event.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[26/131] Compiling AppAmbit EventBatchPayload.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[27/131] Compiling AppAmbit EventEntity.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[28/131] Compiling AppAmbit SessionBatch.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[29/131] Compiling AppAmbit SessionData.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[30/131] Compiling AppAmbit AppSecrets.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[31/131] Compiling AppAmbit Consumer.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[32/131] Compiling AppAmbit ConsumerToken.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[33/131] Compiling AppAmbit UpdateConsumer.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[34/131] Compiling AppAmbit Breadcrumb.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[35/131] Compiling AppAmbit LogBatchEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[36/131] Compiling AppAmbit LogEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[37/131] Compiling AppAmbit RegisterEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[38/131] Compiling AppAmbit RemoteConfigEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[39/131] Compiling AppAmbit SessionBatchEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[40/131] Compiling AppAmbit StartSessionEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[41/131] Compiling AppAmbit TokenEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[42/131] Compiling AppAmbit UpdateConsumerEndpoint.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[43/131] Compiling AppAmbit ICms.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[44/131] Compiling AppAmbit ICmsQuery.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[45/131] Compiling AppAmbit ApiService.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
[46/131] Compiling AppAmbit AppInfoService.swift
/Users/admin/builder/spi-builder-workspace/AppAmbitSdk/Sources/AppAmbit.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import Foundation
  3 | import Network
BUILD FAILURE 6.3 macosSpm