The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Appcues, reference 5.0.2 (0d12d4), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 20:15:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appcues/appcues-ios-sdk.git
Reference: 5.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appcues/appcues-ios-sdk
 * tag               5.0.2      -> FETCH_HEAD
HEAD is now at 0d12d4d 🍏 Update version to 5.0.2
Cloned https://github.com/appcues/appcues-ios-sdk.git
Revision (git rev-parse @):
0d12d4df0381039e08e8d2ce455e027b00026867
SUCCESS checkout https://github.com/appcues/appcues-ios-sdk.git at 5.0.2
========================================
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": "appcues-ios-sdk",
      "name": "Appcues",
      "url": "https://github.com/appcues/appcues-ios-sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/appcues-ios-sdk",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/appcues/appcues-ios-sdk.git
[1/50147] Fetching appcues-ios-sdk
Fetched https://github.com/appcues/appcues-ios-sdk.git from cache (3.22s)
Creating working copy for https://github.com/appcues/appcues-ios-sdk.git
Working copy of https://github.com/appcues/appcues-ios-sdk.git resolved at 5.0.2 (0d12d4d)
warning: '.resolve-product-dependencies': dependency 'appcues-ios-sdk' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/appcues/appcues-ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/208] Emitting module AppcuesNotificationService
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:23:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
   |                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
24 |     var bestAttemptContent: UNMutableNotificationContent?
25 |
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
24 |     var bestAttemptContent: UNMutableNotificationContent?
   |                             `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
25 |
26 |     override public func didReceive(
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
24 |     var bestAttemptContent: UNMutableNotificationContent?
25 |
26 |     override public func didReceive(
   |                          `- note: add '@available' attribute to enclosing instance method
27 |         _ request: UNNotificationRequest,
   |                    `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
28 |         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
24 |     var bestAttemptContent: UNMutableNotificationContent?
25 |
26 |     override public func didReceive(
   |                          `- note: add '@available' attribute to enclosing instance method
27 |         _ request: UNNotificationRequest,
28 |         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
   |                                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
29 |     ) {
30 |         self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
   :
44 |     }
45 |
46 |     func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
   |          |                            `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
   |          `- note: add '@available' attribute to enclosing instance method
47 |         guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 |               let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
   :
44 |     }
45 |
46 |     func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
   |          |                                                                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
   |          `- note: add '@available' attribute to enclosing instance method
47 |         guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 |               let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            |                                    `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
[5/208] Compiling AppcuesNotificationService AppcuesNotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:23:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
   |                           `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
24 |     var bestAttemptContent: UNMutableNotificationContent?
25 |
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
24 |     var bestAttemptContent: UNMutableNotificationContent?
   |                             `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
25 |
26 |     override public func didReceive(
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
24 |     var bestAttemptContent: UNMutableNotificationContent?
25 |
26 |     override public func didReceive(
   |                          `- note: add '@available' attribute to enclosing instance method
27 |         _ request: UNNotificationRequest,
   |                    `- error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
28 |         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
24 |     var bestAttemptContent: UNMutableNotificationContent?
25 |
26 |     override public func didReceive(
   |                          `- note: add '@available' attribute to enclosing instance method
27 |         _ request: UNNotificationRequest,
28 |         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
   |                                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
29 |     ) {
30 |         self.contentHandler = contentHandler
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
   :
44 |     }
45 |
46 |     func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
   |          |                            `- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
   |          `- note: add '@available' attribute to enclosing instance method
47 |         guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 |               let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
   :
44 |     }
45 |
46 |     func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
   |          |                                                                                       `- error: 'UNNotificationContent' is only available in macOS 10.14 or newer
   |          `- note: add '@available' attribute to enclosing instance method
47 |         guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 |               let attachmentURL = URL(string: attachment) else {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            |                                    `- error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:31:65: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
24 |     var bestAttemptContent: UNMutableNotificationContent?
25 |
26 |     override public func didReceive(
   |                          `- note: add '@available' attribute to enclosing instance method
27 |         _ request: UNNotificationRequest,
28 |         withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
29 |     ) {
30 |         self.contentHandler = contentHandler
31 |         bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
   |                                                                 |- error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
   |                                                                 `- note: add 'if #available' version check
32 |
33 |         if let bestAttemptContent = bestAttemptContent {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:69:38: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
19 | /// class NotificationService: AppcuesNotificationServiceExtension {}
20 | /// ```
21 | open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
   |            `- note: add '@available' attribute to enclosing class
22 |
23 |     var contentHandler: ((UNNotificationContent) -> Void)?
   :
44 |     }
45 |
46 |     func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
   |          `- note: add '@available' attribute to enclosing instance method
47 |         guard let attachment = content.userInfo["appcues_attachment_url"] as? String,
48 |               let attachmentURL = URL(string: attachment) else {
   :
67 |             do {
68 |                 try FileManager.default.moveItem(at: downloadedURL, to: tmpFileURL)
69 |                 let attachment = try UNNotificationAttachment(identifier: imageFileIdentifier, url: tmpFileURL)
   |                                      |- error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
   |                                      `- note: add 'if #available' version check
70 |                 content.attachments = [attachment]
71 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: error: 'UTType' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
   | `- note: add '@available' attribute to enclosing extension
83 |     var fileType: String? {
   |         `- note: add '@available' attribute to enclosing property
84 |         guard let mimeType = self.mimeType else {
85 |             return self.url?.pathExtension
   :
87 |
88 |         if #available(iOS 14.0, *) {
89 |             return UTType(mimeType: mimeType)?.preferredFilenameExtension
   |                    |- error: 'UTType' is only available in macOS 11.0 or newer
   |                    `- note: add 'if #available' version check
90 |         } else {
91 |             guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
   | `- note: add '@available' attribute to enclosing extension
83 |     var fileType: String? {
   |         `- note: add '@available' attribute to enclosing property
84 |         guard let mimeType = self.mimeType else {
85 |             return self.url?.pathExtension
   :
87 |
88 |         if #available(iOS 14.0, *) {
89 |             return UTType(mimeType: mimeType)?.preferredFilenameExtension
   |                    |- error: 'init(mimeType:conformingTo:)' is only available in macOS 11.0 or newer
   |                    `- note: add 'if #available' version check
90 |         } else {
91 |             guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:48: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
80 | }
81 |
82 | extension URLResponse {
   | `- note: add '@available' attribute to enclosing extension
83 |     var fileType: String? {
   |         `- note: add '@available' attribute to enclosing property
84 |         guard let mimeType = self.mimeType else {
85 |             return self.url?.pathExtension
   :
87 |
88 |         if #available(iOS 14.0, *) {
89 |             return UTType(mimeType: mimeType)?.preferredFilenameExtension
   |                                                |- error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
   |                                                `- note: add 'if #available' version check
90 |         } else {
91 |             guard let mimeUTI = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as CFString, nil)?.takeUnretainedValue(),
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/AppcuesKit/Presentation/Assets.xcassets
BUILD FAILURE 6.3 macosSpm