The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Grovs, reference 3.1.0 (8828ce), with Swift 6.2 for macOS (SPM) on 29 Oct 2026 01:55:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grovs-io/grovs-iOS.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/grovs-io/grovs-iOS
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 8828cea Check system screens with a UIKit class, not a share sheet
Cloned https://github.com/grovs-io/grovs-iOS.git
Revision (git rev-parse @):
8828cead6727cd8afd85259abfe7515f5345056e
SUCCESS checkout https://github.com/grovs-io/grovs-iOS.git at 3.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/grovs-io/grovs-iOS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[0/4] Write sources
[3/4] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/52] Emitting module GrovsNotificationService
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:22:44: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 20 |     private let lock = NSLock()
 21 |     /// One entry per push, as the system may reuse an instance; request identifiers repeat when pushes share a collapse id.
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
    |                                            `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 23 |
 24 |     open override func didReceive(_ request: UNNotificationRequest,
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:22:86: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 20 |     private let lock = NSLock()
 21 |     /// One entry per push, as the system may reuse an instance; request identifiers repeat when pushes share a collapse id.
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
    |                                                                                      `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 23 |
 24 |     open override func didReceive(_ request: UNNotificationRequest,
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:24:46: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
 23 |
 24 |     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
 25 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
 26 |         let id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:25:81: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
 23 |
 24 |     open override func didReceive(_ request: UNNotificationRequest,
    |                        `- note: add '@available' attribute to enclosing instance method
 25 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
    |                                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 26 |         let id = UUID()
 27 |         lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:52:37: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 50 |
 51 |     // The download and the expiry race; only the first one is delivered.
 52 |     private func deliver(_ content: UNNotificationContent, for id: UUID) {
    |                  |                  `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 53 |         lock.lock()
 54 |         let handler = pending.removeValue(forKey: id)?.handler
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:15:47: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            |                                  `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:69:48: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 67 |     /// Downloads the campaign image and returns the request's content with it attached.
 68 |     @discardableResult
 69 |     public static func attachImage(to request: UNNotificationRequest,
    |                        |                       `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    |                        `- note: add '@available' attribute to enclosing static method
 70 |                                    session: URLSession = .shared,
 71 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:71:59: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 67 |     /// Downloads the campaign image and returns the request's content with it attached.
 68 |     @discardableResult
 69 |     public static func attachImage(to request: UNNotificationRequest,
    |                        `- note: add '@available' attribute to enclosing static method
 70 |                                    session: URLSession = .shared,
 71 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
    |                                                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 72 |         attachImage(to: request.content, session: session, completion: completion)
 73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:81:48: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 79 |     /// - Returns: The download, to cancel in `serviceExtensionTimeWillExpire()`; `nil` when there's nothing to download.
 80 |     @discardableResult
 81 |     public static func attachImage(to content: UNNotificationContent,
    |                        |                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                        `- note: add '@available' attribute to enclosing static method
 82 |                                    session: URLSession = .shared,
 83 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:83:59: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 79 |     /// - Returns: The download, to cancel in `serviceExtensionTimeWillExpire()`; `nil` when there's nothing to download.
 80 |     @discardableResult
 81 |     public static func attachImage(to content: UNNotificationContent,
    |                        `- note: add '@available' attribute to enclosing static method
 82 |                                    session: URLSession = .shared,
 83 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
    |                                                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 84 |         guard let string = content.userInfo[imageKey] as? String,
 85 |               let url = URL(string: string), url.scheme?.lowercased() == "https",
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:107:63: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
105 |
106 |     // Only JPEG, PNG and GIF show, read from the bytes; the download is moved first as it's deleted when the handler returns.
107 |     private static func makeAttachment(from location: URL) -> UNNotificationAttachment? {
    |                         |                                     `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
108 |         guard let source = CGImageSourceCreateWithURL(location as CFURL, nil),
109 |               let type = CGImageSourceGetType(source) as String?,
[6/52] Compiling GrovsNotificationService GrovsNotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:22:44: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 20 |     private let lock = NSLock()
 21 |     /// One entry per push, as the system may reuse an instance; request identifiers repeat when pushes share a collapse id.
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
    |                                            `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 23 |
 24 |     open override func didReceive(_ request: UNNotificationRequest,
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:22:86: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 20 |     private let lock = NSLock()
 21 |     /// One entry per push, as the system may reuse an instance; request identifiers repeat when pushes share a collapse id.
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
    |                                                                                      `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 23 |
 24 |     open override func didReceive(_ request: UNNotificationRequest,
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:24:46: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
 23 |
 24 |     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
 25 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
 26 |         let id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:25:81: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 22 |     private var pending: [UUID: (handler: (UNNotificationContent) -> Void, original: UNNotificationContent, download: URLSessionTask?)] = [:]
 23 |
 24 |     open override func didReceive(_ request: UNNotificationRequest,
    |                        `- note: add '@available' attribute to enclosing instance method
 25 |                                   withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
    |                                                                                 `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 26 |         let id = UUID()
 27 |         lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:52:37: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
    :
 50 |
 51 |     // The download and the expiry race; only the first one is delivered.
 52 |     private func deliver(_ content: UNNotificationContent, for id: UUID) {
    |                  |                  `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
 53 |         lock.lock()
 54 |         let handler = pending.removeValue(forKey: id)?.handler
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:15:47: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
 13 | /// Make it the superclass of your Notification Service Extension's principal class. To change the
 14 | /// content as well, call `GrovsNotificationContent.attachImage(to:session:completion:)` from your own extension.
 15 | open class GrovsNotificationServiceExtension: UNNotificationServiceExtension {
    |            |                                  `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
    |            `- note: add '@available' attribute to enclosing class
 16 |
 17 |     /// The session the image is downloaded with.
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:69:48: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 67 |     /// Downloads the campaign image and returns the request's content with it attached.
 68 |     @discardableResult
 69 |     public static func attachImage(to request: UNNotificationRequest,
    |                        |                       `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
    |                        `- note: add '@available' attribute to enclosing static method
 70 |                                    session: URLSession = .shared,
 71 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:71:59: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 67 |     /// Downloads the campaign image and returns the request's content with it attached.
 68 |     @discardableResult
 69 |     public static func attachImage(to request: UNNotificationRequest,
    |                        `- note: add '@available' attribute to enclosing static method
 70 |                                    session: URLSession = .shared,
 71 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
    |                                                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 72 |         attachImage(to: request.content, session: session, completion: completion)
 73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:81:48: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 79 |     /// - Returns: The download, to cancel in `serviceExtensionTimeWillExpire()`; `nil` when there's nothing to download.
 80 |     @discardableResult
 81 |     public static func attachImage(to content: UNNotificationContent,
    |                        |                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
    |                        `- note: add '@available' attribute to enclosing static method
 82 |                                    session: URLSession = .shared,
 83 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:83:59: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 79 |     /// - Returns: The download, to cancel in `serviceExtensionTimeWillExpire()`; `nil` when there's nothing to download.
 80 |     @discardableResult
 81 |     public static func attachImage(to content: UNNotificationContent,
    |                        `- note: add '@available' attribute to enclosing static method
 82 |                                    session: URLSession = .shared,
 83 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
    |                                                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
 84 |         guard let string = content.userInfo[imageKey] as? String,
 85 |               let url = URL(string: string), url.scheme?.lowercased() == "https",
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:107:63: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
105 |
106 |     // Only JPEG, PNG and GIF show, read from the bytes; the download is moved first as it's deleted when the handler returns.
107 |     private static func makeAttachment(from location: URL) -> UNNotificationAttachment? {
    |                         |                                     `- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |                         `- note: add '@available' attribute to enclosing static method
108 |         guard let source = CGImageSourceCreateWithURL(location as CFURL, nil),
109 |               let type = CGImageSourceGetType(source) as String?,
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:86:55: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
 79 |     /// - Returns: The download, to cancel in `serviceExtensionTimeWillExpire()`; `nil` when there's nothing to download.
 80 |     @discardableResult
 81 |     public static func attachImage(to content: UNNotificationContent,
    |                        `- note: add '@available' attribute to enclosing static method
 82 |                                    session: URLSession = .shared,
 83 |                                    completion: @escaping (UNNotificationContent) -> Void) -> URLSessionTask? {
 84 |         guard let string = content.userInfo[imageKey] as? String,
 85 |               let url = URL(string: string), url.scheme?.lowercased() == "https",
 86 |               let updated = content.mutableCopy() as? UNMutableNotificationContent else {
    |                                                       |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
    |                                                       `- note: add 'if #available' version check
 87 |             completion(content)
 88 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:119:24: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
105 |
106 |     // Only JPEG, PNG and GIF show, read from the bytes; the download is moved first as it's deleted when the handler returns.
107 |     private static func makeAttachment(from location: URL) -> UNNotificationAttachment? {
    |                         `- note: add '@available' attribute to enclosing static method
108 |         guard let source = CGImageSourceCreateWithURL(location as CFURL, nil),
109 |               let type = CGImageSourceGetType(source) as String?,
    :
117 |         do {
118 |             try FileManager.default.moveItem(at: location, to: file)
119 |             return try UNNotificationAttachment(identifier: imageKey, url: file,
    |                        |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
120 |                                                 options: [UNNotificationAttachmentOptionsTypeHintKey: type])
121 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/GrovsNotificationService/GrovsNotificationServiceExtension.swift:120:59: error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
 60 |
 61 | /// Grovs push content helpers, safe to use from app extensions.
 62 | public enum GrovsNotificationContent {
    |             `- note: add '@available' attribute to enclosing enum
 63 |
 64 |     /// The payload key carrying the campaign's image URL.
    :
105 |
106 |     // Only JPEG, PNG and GIF show, read from the bytes; the download is moved first as it's deleted when the handler returns.
107 |     private static func makeAttachment(from location: URL) -> UNNotificationAttachment? {
    |                         `- note: add '@available' attribute to enclosing static method
108 |         guard let source = CGImageSourceCreateWithURL(location as CFURL, nil),
109 |               let type = CGImageSourceGetType(source) as String?,
    :
118 |             try FileManager.default.moveItem(at: location, to: file)
119 |             return try UNNotificationAttachment(identifier: imageKey, url: file,
120 |                                                 options: [UNNotificationAttachmentOptionsTypeHintKey: type])
    |                                                           |- error: 'UNNotificationAttachmentOptionsTypeHintKey' is only available in macOS 10.14 or newer
    |                                                           `- note: add 'if #available' version check
121 |         } catch {
122 |             try? FileManager.default.removeItem(at: file)
BUILD FAILURE 6.2 macosSpm