The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppAmbitSdk, reference develop (599f43), with Swift 6.2 for macOS (SPM) on 28 Aug 2026 04:19:12 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.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: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AppAmbit/appambit-sdk-ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 599f430 Merge pull request #101 from AppAmbit/docs/updated-taglines-and-readme
Cloned https://github.com/AppAmbit/appambit-sdk-ios.git
Revision (git rev-parse @):
599f430b206f2dc49b4a01e90418b8714f1520a7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AppAmbit/appambit-sdk-ios.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AppAmbit/appambit-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--3CB7CFEC50E0D141.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 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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/119] Compiling AppAmbitPushNotificationsExtension AppAmbitNotification.swift
[9/119] 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)
[10/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/119] Emitting module AppAmbit
/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 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
[13/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
[14/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
[15/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
[16/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
[17/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
[18/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
[19/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
[20/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
[21/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
[22/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
[23/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
[24/119] Compiling AppAmbit ExceptionInfo.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/119] Compiling AppAmbit Log.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/119] Compiling AppAmbit LogBatch.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/119] Compiling AppAmbit LogEntity.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/119] Compiling AppAmbit MultipartFile.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/119] Compiling AppAmbit RemoteConfigEntity.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/119] Compiling AppAmbit RemoteConfigModel.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/119] Compiling AppAmbit ApiResult.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/119] Compiling AppAmbit BatchResponse.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/119] Compiling AppAmbit BreadcrumbResponse.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/119] Compiling AppAmbit EndSessionResponse.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/119] Compiling AppAmbit EventResponse.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.2 macosSpm