Build Information
Failed to build Appcues, reference 4.0.0-beta.1 (04bc7d
), with Swift 5.9 for macOS (SPM) on 25 Jul 2024 00:02:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appcues/appcues-ios-sdk.git
Reference: 4.0.0-beta.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appcues/appcues-ios-sdk
* tag 4.0.0-beta.1 -> FETCH_HEAD
HEAD is now at 04bc7d5 🍏 Update version to 4.0.0-beta.1
Cloned https://github.com/appcues/appcues-ios-sdk.git
Revision (git rev-parse @):
04bc7d5e5da6c85821e8f54610b2968130fbc8dd
SUCCESS checkout https://github.com/appcues/appcues-ios-sdk.git at 4.0.0-beta.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/appcues/appcues-ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/197] 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
var contentHandler: ((UNNotificationContent) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
var bestAttemptContent: UNMutableNotificationContent?
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:26:26: note: add @available attribute to enclosing instance method
override public func didReceive(
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:26:26: note: add @available attribute to enclosing instance method
override public func didReceive(
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:10: note: add @available attribute to enclosing instance method
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:10: note: add @available attribute to enclosing instance method
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
[2/197] 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
var contentHandler: ((UNNotificationContent) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:24:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
var bestAttemptContent: UNMutableNotificationContent?
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:27:20: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:26:26: note: add @available attribute to enclosing instance method
override public func didReceive(
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:28:55: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:26:26: note: add @available attribute to enclosing instance method
override public func didReceive(
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:39: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:10: note: add @available attribute to enclosing instance method
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:98: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:10: note: add @available attribute to enclosing instance method
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:49: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:31:65: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:31:65: note: add 'if #available' version check
bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:26:26: note: add @available attribute to enclosing instance method
override public func didReceive(
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:69:38: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
let attachment = try UNNotificationAttachment(identifier: imageFileIdentifier, url: tmpFileURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:69:38: note: add 'if #available' version check
let attachment = try UNNotificationAttachment(identifier: imageFileIdentifier, url: tmpFileURL)
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:46:10: note: add @available attribute to enclosing instance method
func processAttachment(_ content: UNMutableNotificationContent, _ contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:21:12: note: add @available attribute to enclosing class
open class AppcuesNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: error: 'UTType' is only available in macOS 11.0 or newer
return UTType(mimeType: mimeType)?.preferredFilenameExtension
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: note: add 'if #available' version check
return UTType(mimeType: mimeType)?.preferredFilenameExtension
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:83:9: note: add @available attribute to enclosing property
var fileType: String? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:82:1: note: add @available attribute to enclosing extension
extension URLResponse {
^
/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
return UTType(mimeType: mimeType)?.preferredFilenameExtension
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:20: note: add 'if #available' version check
return UTType(mimeType: mimeType)?.preferredFilenameExtension
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:83:9: note: add @available attribute to enclosing property
var fileType: String? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:82:1: note: add @available attribute to enclosing extension
extension URLResponse {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:48: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
return UTType(mimeType: mimeType)?.preferredFilenameExtension
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:89:48: note: add 'if #available' version check
return UTType(mimeType: mimeType)?.preferredFilenameExtension
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:83:9: note: add @available attribute to enclosing property
var fileType: String? {
^
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesNotificationService/AppcuesNotificationServiceExtension.swift:82:1: note: add @available attribute to enclosing extension
extension URLResponse {
^
error: fatalError
/Users/admin/builder/spi-builder-workspace/Sources/AppcuesKit/Appcues+Config.swift:10:8: error: no such module 'UIKit'
import UIKit
^
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 5.9 macosSpm