Build Information
Failed to build IterableSDK, reference 6.5.11 (10e8f4
), with Swift 5.9 for macOS (SPM) on 19 Apr 2025 16:50:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Iterable/iterable-swift-sdk.git
Reference: 6.5.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Iterable/iterable-swift-sdk
* tag 6.5.11 -> FETCH_HEAD
HEAD is now at 10e8f47 [MOB-10709] prepares for version 6.5.11 release (#890)
Cloned https://github.com/Iterable/iterable-swift-sdk.git
Revision (git rev-parse @):
10e8f476597a341155555549b3e13371b6b75aea
SUCCESS checkout https://github.com/Iterable/iterable-swift-sdk.git at 6.5.11
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/Iterable/iterable-swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Copying SampleInboxCell.xib
[1/5] Copying PrivacyInfo.xcprivacy
[1/5] Copying IterableEmbeddedView.xib
[3/5] Copying IterableDataModel.xcdatamodeld
[4/5] Copying Assets.xcassets
[6/119] Compiling IterableAppExtensions TestFile.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/119] Compiling IterableAppExtensions NotificationExtensionConstants.swift
[8/119] Emitting module IterableAppExtensions
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:51: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:10: note: add @available attribute to enclosing instance method
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:7:17: note: add @available attribute to enclosing protocol
public protocol ITBNotificationServiceExtensionDelegate {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:94: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:10: note: add @available attribute to enclosing instance method
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:7:17: note: add @available attribute to enclosing protocol
public protocol ITBNotificationServiceExtensionDelegate {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:151: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:10: note: add @available attribute to enclosing instance method
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:7:17: note: add @available attribute to enclosing protocol
public protocol ITBNotificationServiceExtensionDelegate {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:12:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
var contentHandler: ((UNNotificationContent) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:13:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
var bestAttemptContent: UNMutableNotificationContent?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:52: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
@objc override open func didReceive(_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:30: note: add @available attribute to enclosing instance method
@objc override open func didReceive(_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:17:87: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:30: note: add @available attribute to enclosing instance method
@objc override open func didReceive(_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:54:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
private func retrieveAttachment(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:54:18: note: add @available attribute to enclosing instance method
private func retrieveAttachment(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:108:48: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
private func resolveCategory(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:108:18: note: add @available attribute to enclosing instance method
private func resolveCategory(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:50: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:25: note: add @available attribute to enclosing static method
private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:180:34: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
private var messageCategory: UNNotificationCategory?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:51: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:9:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:9:17: note: add @available attribute to enclosing static method
static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:13:52: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
static func getIterableMessageId(from content: UNNotificationContent) -> String? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:13:17: note: add @available attribute to enclosing static method
static func getIterableMessageId(from content: UNNotificationContent) -> String? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:54: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:17: note: add @available attribute to enclosing static method
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:81: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:17: note: add @available attribute to enclosing static method
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:26:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
private static func getActionButtonsJsonArray(from content: UNNotificationContent) -> [[AnyHashable: Any]] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:26:25: note: add @available attribute to enclosing static method
private static func getActionButtonsJsonArray(from content: UNNotificationContent) -> [[AnyHashable: Any]] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:90: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:25: note: add @available attribute to enclosing static method
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:103:77: error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:103:25: note: add @available attribute to enclosing static method
private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:86: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:25: note: add @available attribute to enclosing static method
private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
[9/119] Compiling IterableAppExtensions NotificationContentParser.swift
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:9:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:9:17: note: add @available attribute to enclosing static method
static func getIterableMetadata(from content: UNNotificationContent) -> [AnyHashable: Any]? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:13:52: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
static func getIterableMessageId(from content: UNNotificationContent) -> String? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:13:17: note: add @available attribute to enclosing static method
static func getIterableMessageId(from content: UNNotificationContent) -> String? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:54: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:17: note: add @available attribute to enclosing static method
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:81: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:21:17: note: add @available attribute to enclosing static method
static func getNotificationActions(from content: UNNotificationContent) -> [UNNotificationAction] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:26:65: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
private static func getActionButtonsJsonArray(from content: UNNotificationContent) -> [[AnyHashable: Any]] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:26:25: note: add @available attribute to enclosing static method
private static func getActionButtonsJsonArray(from content: UNNotificationContent) -> [[AnyHashable: Any]] {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:90: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:25: note: add @available attribute to enclosing static method
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:103:77: error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:103:25: note: add @available attribute to enclosing static method
private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:86: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:25: note: add @available attribute to enclosing static method
private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:48:24: error: 'UNTextInputNotificationAction' is only available in macOS 10.14 or newer
return UNTextInputNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:48:24: note: add 'if #available' version check
return UNTextInputNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:25: note: add @available attribute to enclosing static method
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:48:24: error: 'init(identifier:title:options:icon:textInputButtonTitle:textInputPlaceholder:)' is only available in macOS 12.0 or newer
return UNTextInputNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:48:24: note: add 'if #available' version check
return UNTextInputNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:25: note: add @available attribute to enclosing static method
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:63:24: error: 'UNNotificationAction' is only available in macOS 10.14 or newer
return UNNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:63:24: note: add 'if #available' version check
return UNNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:25: note: add @available attribute to enclosing static method
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:63:24: error: 'init(identifier:title:options:icon:)' is only available in macOS 12.0 or newer
return UNNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:63:24: note: add 'if #available' version check
return UNNotificationAction(identifier: button.identifier,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:41:25: note: add @available attribute to enclosing static method
private static func createNotificationActionButton(from json: [AnyHashable: Any]) -> UNNotificationAction? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:104:22: error: 'UNNotificationActionOptions' is only available in macOS 10.14 or newer
var options: UNNotificationActionOptions = []
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:104:22: note: add 'if #available' version check
var options: UNNotificationActionOptions = []
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:103:25: note: add @available attribute to enclosing static method
private static func getOptions(forActionButton button: ActionButton) -> UNNotificationActionOptions {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:127:20: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
return UNNotificationActionIcon(systemImageName: actionIcon.imageName)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:127:20: note: add 'if #available' version check
return UNNotificationActionIcon(systemImageName: actionIcon.imageName)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:25: note: add @available attribute to enclosing static method
private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:129:20: error: 'UNNotificationActionIcon' is only available in macOS 12.0 or newer
return UNNotificationActionIcon(templateImageName: actionIcon.imageName)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:129:20: note: add 'if #available' version check
return UNNotificationActionIcon(templateImageName: actionIcon.imageName)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:122:25: note: add @available attribute to enclosing static method
private static func getNotificationIcon(forActionButton button: ActionButton) -> UNNotificationActionIcon? {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/NotificationContentParser.swift:8:8: note: add @available attribute to enclosing struct
struct NotificationContentParser {
^
[10/119] Compiling IterableAppExtensions ITBNotificationServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:51: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:10: note: add @available attribute to enclosing instance method
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:7:17: note: add @available attribute to enclosing protocol
public protocol ITBNotificationServiceExtensionDelegate {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:94: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:10: note: add @available attribute to enclosing instance method
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:7:17: note: add @available attribute to enclosing protocol
public protocol ITBNotificationServiceExtensionDelegate {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:151: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:8:10: note: add @available attribute to enclosing instance method
func notificationServiceDidReceive(_ request: UNNotificationRequest, bestAttemptContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:7:17: note: add @available attribute to enclosing protocol
public protocol ITBNotificationServiceExtensionDelegate {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:12:27: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
var contentHandler: ((UNNotificationContent) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:13:29: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
var bestAttemptContent: UNMutableNotificationContent?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:52: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
@objc override open func didReceive(_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:30: note: add @available attribute to enclosing instance method
@objc override open func didReceive(_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:17:87: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:30: note: add @available attribute to enclosing instance method
@objc override open func didReceive(_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:54:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
private func retrieveAttachment(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:54:18: note: add @available attribute to enclosing instance method
private func retrieveAttachment(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:108:48: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
private func resolveCategory(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:108:18: note: add @available attribute to enclosing instance method
private func resolveCategory(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:50: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:25: note: add @available attribute to enclosing static method
private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:180:34: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
private var messageCategory: UNNotificationCategory?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:51: error: 'UNNotificationServiceExtension' is only available in macOS 10.14 or newer
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:19:65: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:19:65: note: add 'if #available' version check
bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:16:30: note: add @available attribute to enclosing instance method
@objc override open func didReceive(_ request: UNNotificationRequest,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:79:29: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
var attachment: UNNotificationAttachment?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:79:29: note: add 'if #available' version check
var attachment: UNNotificationAttachment?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:68:18: note: add @available attribute to enclosing instance method
private func createAttachmentDownloadTask(url: URL) -> URLSessionDownloadTask {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:79:29: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
var attachment: UNNotificationAttachment?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:79:29: note: add 'if #available' version check
var attachment: UNNotificationAttachment?
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:68:18: note: add @available attribute to enclosing instance method
private func createAttachmentDownloadTask(url: URL) -> URLSessionDownloadTask {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:83:34: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
attachment = try UNNotificationAttachment(identifier: attachmentId, url: tempFileUrl, options: nil)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:83:34: note: add 'if #available' version check
attachment = try UNNotificationAttachment(identifier: attachmentId, url: tempFileUrl, options: nil)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:68:18: note: add @available attribute to enclosing instance method
private func createAttachmentDownloadTask(url: URL) -> URLSessionDownloadTask {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:118:24: error: 'UNNotificationCategory' is only available in macOS 10.14 or newer
let category = UNNotificationCategory(identifier: messageId,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:118:24: note: add 'if #available' version check
let category = UNNotificationCategory(identifier: messageId,
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:108:18: note: add @available attribute to enclosing instance method
private func resolveCategory(from content: UNNotificationContent) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:127:9: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
UNUserNotificationCenter.current().getNotificationCategories { categories in
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:127:9: note: add 'if #available' version check
UNUserNotificationCenter.current().getNotificationCategories { categories in
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:25: note: add @available attribute to enclosing static method
private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:130:13: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
UNUserNotificationCenter.current().setNotificationCategories(newCategories)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:130:13: note: add 'if #available' version check
UNUserNotificationCenter.current().setNotificationCategories(newCategories)
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:126:25: note: add @available attribute to enclosing static method
private static func createCategory(category: UNNotificationCategory, afterCategoryCreated: (() -> Void)?) {
^
/Users/admin/builder/spi-builder-workspace/notification-extension/ITBNotificationServiceExtension.swift:11:18: note: add @available attribute to enclosing class
@objc open class ITBNotificationServiceExtension: UNNotificationServiceExtension {
^
error: fatalError
/Users/admin/builder/spi-builder-workspace/swift-sdk/Core/Models/CommerceItem.swift:5:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.9 macosSpm