Build Information
Failed to build PushExpressLib with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kidjuniper/PushExpressLib.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/kidjuniper/PushExpressLib
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at deae723 Update README.md
Cloned https://github.com/kidjuniper/PushExpressLib.git
Revision (git rev-parse @):
deae7231c75921de3e66384ef45e1a9030be81fa
SUCCESS checkout https://github.com/kidjuniper/PushExpressLib.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "pushexpresslib",
"name": "PushExpressLib",
"url": "https://github.com/kidjuniper/PushExpressLib.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PushExpressLib",
"dependencies": [
]
}
]
}
Fetching https://github.com/kidjuniper/PushExpressLib.git from cache
Fetched https://github.com/kidjuniper/PushExpressLib.git from cache (0.28s)
Creating working copy for https://github.com/kidjuniper/PushExpressLib.git
Working copy of https://github.com/kidjuniper/PushExpressLib.git resolved at main (deae723)
warning: '.resolve-product-dependencies': dependency 'pushexpresslib' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/kidjuniper/PushExpressLib.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/8] Compiling PushExpressLib URLSessionLoadImage.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:12:105: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
public class func downloadImage(atURL url: URL, withCompletionHandler completionHandler: @escaping (UNNotificationAttachment?, NSError?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:12:23: note: add @available attribute to enclosing class method
public class func downloadImage(atURL url: URL, withCompletionHandler completionHandler: @escaping (UNNotificationAttachment?, NSError?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:35:38: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
let attachment = try UNNotificationAttachment(identifier: "image", url: fileURL, options: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:35:38: note: add 'if #available' version check
let attachment = try UNNotificationAttachment(identifier: "image", url: fileURL, options: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:12:23: note: add @available attribute to enclosing class method
public class func downloadImage(atURL url: URL, withCompletionHandler completionHandler: @escaping (UNNotificationAttachment?, NSError?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling PushExpressLib Enums.swift
[5/8] Emitting module PushExpressLib
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:50: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:102: error: 'UNNotification' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:170: error: 'UNNotificationPresentationOptions' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:50: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:97: error: 'UNNotificationResponse' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:12:105: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
public class func downloadImage(atURL url: URL, withCompletionHandler completionHandler: @escaping (UNNotificationAttachment?, NSError?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:12:23: note: add @available attribute to enclosing class method
public class func downloadImage(atURL url: URL, withCompletionHandler completionHandler: @escaping (UNNotificationAttachment?, NSError?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/URLSessionLoadImage.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:45: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:17: note: add @available attribute to enclosing instance method
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:95: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:17: note: add @available attribute to enclosing instance method
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:47:70: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
public func downloadImage(atURL url: URL, completion: @escaping (UNNotificationAttachment?, Error?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadImage(atURL url: URL, completion: @escaping (UNNotificationAttachment?, Error?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
[6/8] Compiling PushExpressLib UNUserNotificationCenterDelegate.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:50: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:102: error: 'UNNotification' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:170: error: 'UNNotificationPresentationOptions' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:50: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:97: error: 'UNNotificationResponse' is only available in macOS 10.14 or newer
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:40:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:15:31: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
let content = UNMutableNotificationContent()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:15:31: note: add 'if #available' version check
let content = UNMutableNotificationContent()
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:26:39: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
let request = UNNotificationRequest(identifier: msgId, content: content, trigger: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:26:39: note: add 'if #available' version check
let request = UNNotificationRequest(identifier: msgId, content: content, trigger: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:27:25: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:27:25: note: add 'if #available' version check
UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:30:35: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
let request = UNNotificationRequest(identifier: msgId, content: content, trigger: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:30:35: note: add 'if #available' version check
let request = UNNotificationRequest(identifier: msgId, content: content, trigger: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:31:21: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:31:21: note: add 'if #available' version check
UNUserNotificationCenter.current().add(request, withCompletionHandler: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:37:29: error: 'alert' is only available in macOS 10.14 or newer
completionHandler([.alert, .sound, .badge])
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:37:29: note: add 'if #available' version check
completionHandler([.alert, .sound, .badge])
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:11:17: note: add @available attribute to enclosing instance method
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/Extensions/UNUserNotificationCenterDelegate.swift:10:1: note: add @available attribute to enclosing extension
extension PushExpressManager: UNUserNotificationCenterDelegate {
^
[7/8] Compiling PushExpressLib PushExpressLib.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:35:13: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
UNUserNotificationCenter.current().delegate = PushExpressManager.shared
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:35:13: note: add 'if #available' version check
UNUserNotificationCenter.current().delegate = PushExpressManager.shared
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:18:17: note: add @available attribute to enclosing instance method
public func initialize(appId: String,
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:8:20: note: add @available attribute to enclosing class
public final class PushExpressManager: NSObject {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:37:13: error: 'UNUserNotificationCenter' is only available in macOS 10.14 or newer
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) { granted, error in
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:37:13: note: add 'if #available' version check
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) { granted, error in
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:18:17: note: add @available attribute to enclosing instance method
public func initialize(appId: String,
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:8:20: note: add @available attribute to enclosing class
public final class PushExpressManager: NSObject {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:109:41: error: 'language' is only available in macOS 13 or newer
let locale = Locale.current.language.languageCode
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:109:41: note: add 'if #available' version check
let locale = Locale.current.language.languageCode
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:107:18: note: add @available attribute to enclosing instance method
private func getSettedLanguage() -> String {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:8:20: note: add @available attribute to enclosing class
public final class PushExpressManager: NSObject {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:109:50: error: 'languageCode' is only available in macOS 13 or newer
let locale = Locale.current.language.languageCode
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:109:50: note: add 'if #available' version check
let locale = Locale.current.language.languageCode
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:107:18: note: add @available attribute to enclosing instance method
private func getSettedLanguage() -> String {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:8:20: note: add @available attribute to enclosing class
public final class PushExpressManager: NSObject {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:110:33: error: 'LanguageCode' is only available in macOS 13 or newer
return "\(locale ?? "")"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:110:33: note: add 'if #available' version check
return "\(locale ?? "")"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:107:18: note: add @available attribute to enclosing instance method
private func getSettedLanguage() -> String {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/PushExpressLib.swift:8:20: note: add @available attribute to enclosing class
public final class PushExpressManager: NSObject {
^
[8/8] Compiling PushExpressLib NotificationManager.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:45: error: 'UNNotificationRequest' is only available in macOS 10.14 or newer
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:17: note: add @available attribute to enclosing instance method
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:95: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:17: note: add @available attribute to enclosing instance method
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:47:70: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
public func downloadImage(atURL url: URL, completion: @escaping (UNNotificationAttachment?, Error?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadImage(atURL url: URL, completion: @escaping (UNNotificationAttachment?, Error?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:16:64: error: 'UNMutableNotificationContent' is only available in macOS 10.14 or newer
guard let content = (request.content.mutableCopy() as? UNMutableNotificationContent) else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:16:64: note: add 'if #available' version check
guard let content = (request.content.mutableCopy() as? UNMutableNotificationContent) else {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:17: note: add @available attribute to enclosing instance method
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:40:51: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
contentHandler(content.copy() as! UNNotificationContent)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:40:51: note: add 'if #available' version check
contentHandler(content.copy() as! UNNotificationContent)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:17: note: add @available attribute to enclosing instance method
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:43:47: error: 'UNNotificationContent' is only available in macOS 10.14 or newer
contentHandler(content.copy() as! UNNotificationContent)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:43:47: note: add 'if #available' version check
contentHandler(content.copy() as! UNNotificationContent)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:15:17: note: add @available attribute to enclosing instance method
public func handleNotification(request: UNNotificationRequest, contentHandler: @escaping (UNNotificationContent) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:61:38: error: 'UNNotificationAttachment' is only available in macOS 10.14 or newer
let attachment = try UNNotificationAttachment(identifier: uniqueString, url: tmpFileURL, options: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:61:38: note: add 'if #available' version check
let attachment = try UNNotificationAttachment(identifier: uniqueString, url: tmpFileURL, options: nil)
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:47:17: note: add @available attribute to enclosing instance method
public func downloadImage(atURL url: URL, completion: @escaping (UNNotificationAttachment?, Error?) -> Void) {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PushExpressLib/NotificationManager.swift:11:14: note: add @available attribute to enclosing class
public class NotificationManager {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm