The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of NotificationManager, reference main (b2159d), with Swift 6.1 for macOS (SPM) on 10 Dec 2025 07:35:13 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/NotificationManager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/NotificationManager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b2159dd 2025-12-10
Cloned https://github.com/markbattistella/NotificationManager.git
Revision (git rev-parse @):
b2159dd145f447b339cd66c084a3c4d113d4b318
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/NotificationManager.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/markbattistella/NotificationManager.git
https://github.com/markbattistella/NotificationManager.git
{
  "dependencies" : [
    {
      "identity" : "defaultskit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "25.0.0",
            "upper_bound" : "26.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/DefaultsKit"
    },
    {
      "identity" : "simplelogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/SimpleLogger"
    }
  ],
  "manifest_display_name" : "NotificationManager",
  "name" : "NotificationManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "NotificationManager",
      "targets" : [
        "NotificationManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotificationManager",
      "module_type" : "SwiftTarget",
      "name" : "NotificationManager",
      "path" : "Sources/NotificationManager",
      "product_dependencies" : [
        "DefaultsKit",
        "SimpleLogger"
      ],
      "product_memberships" : [
        "NotificationManager"
      ],
      "sources" : [
        "Attachments/ImageRenderer+Ext.swift",
        "Attachments/NSImage+Ext.swift",
        "Attachments/NotificationAttachmentBuilder.swift",
        "Core/Duration+Ext.swift",
        "Core/NotificationManager.swift",
        "Descriptors/NotificationActionDescriptor.swift",
        "Descriptors/NotificationAttachmentFactory.swift",
        "Descriptors/NotificationCategoryDescriptor.swift",
        "Descriptors/NotificationType.swift",
        "Models/NotificationCapabilities.swift",
        "Models/NotificationError.swift",
        "Models/NotificationState.swift",
        "Models/NotificationWeekday.swift",
        "Models/PermissionStatus.swift",
        "Persistence/NotificationsUserDefaultsKey.swift",
        "Persistence/UserDefaults+Suite.swift",
        "Sound/NotificationSound.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/29] Emitting module SimpleLogger
[7/30] Compiling SimpleLogger Category+Architecture.swift
[8/30] Compiling SimpleLogger Category+Commerce.swift
[9/30] Compiling DefaultsKit resource_bundle_accessor.swift
[10/30] Compiling DefaultsKit UserDefaults+Ext.swift
[11/30] Compiling DefaultsKit UserDefaultsKeyRepresentable.swift
[12/30] Compiling SimpleLogger LoggerCategory.swift
[13/30] Compiling SimpleLogger Category+Utilities.swift
[14/30] Compiling SimpleLogger Date+Ext.swift
[15/30] Compiling SimpleLogger AgnosticColor.swift
[16/30] Compiling SimpleLogger Delimiter.swift
[17/30] Compiling SimpleLogger LoggerManager.swift
[18/30] Compiling SimpleLogger Category+Miscellaneous.swift
[19/30] Compiling SimpleLogger Category+Network.swift
[20/30] Compiling SimpleLogger Category+Security.swift
[21/30] Compiling SimpleLogger Category+System.swift
[22/30] Compiling SimpleLogger Category+Testing.swift
[23/30] Compiling SimpleLogger Category+UI.swift
[24/30] Compiling SimpleLogger Category+Performance.swift
[25/30] Compiling SimpleLogger Category+Persistence.swift
[26/30] Compiling SimpleLogger LogLevel+Ext.swift
[27/30] Compiling SimpleLogger Logger+Ext.swift
[28/30] Compiling DefaultsKit DefaultsPersisted.swift
[29/30] Compiling DefaultsKit AppStorage+Ext.swift
[30/30] Emitting module DefaultsKit
[31/47] Compiling NotificationManager NotificationError.swift
[32/47] Compiling NotificationManager NotificationState.swift
[33/48] Emitting module NotificationManager
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Attachments/NotificationAttachmentBuilder.swift:88:21: warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
 86 |         ///   if rendering fails.
 87 |         @MainActor
 88 |         public func makeAttachment() async -> UNNotificationAttachment? {
    |                     `- warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
 89 |
 90 |             let view = ZStack {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Attachments/NotificationAttachmentBuilder.swift:147:21: warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
145 |         /// rendering fails.
146 |         @MainActor
147 |         public func makeAttachment() async -> UNNotificationAttachment? {
    |                     `- warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
148 |
149 |             let renderer = ImageRenderer(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Persistence/UserDefaults+Suite.swift:17:25: warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
15 |     /// ``NotificationsUserDefaultsKey/suiteName``. If the suite cannot be created, the standard
16 |     /// `UserDefaults` instance is used as a fallback.
17 |     internal static let notification: UserDefaults = {
   |                         |- warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'notification' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         guard let userDefaults = UserDefaults(suiteName: NotificationsUserDefaultsKey.suiteName) else {
19 |             return .standard
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
[34/48] Compiling NotificationManager NotificationSound.swift
[35/48] Compiling NotificationManager NotificationsUserDefaultsKey.swift
[36/48] Compiling NotificationManager NotificationWeekday.swift
[37/48] Compiling NotificationManager PermissionStatus.swift
[38/48] Compiling NotificationManager UserDefaults+Suite.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Persistence/UserDefaults+Suite.swift:17:25: warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
15 |     /// ``NotificationsUserDefaultsKey/suiteName``. If the suite cannot be created, the standard
16 |     /// `UserDefaults` instance is used as a fallback.
17 |     internal static let notification: UserDefaults = {
   |                         |- warning: static property 'notification' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'notification' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         guard let userDefaults = UserDefaults(suiteName: NotificationsUserDefaultsKey.suiteName) else {
19 |             return .standard
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
[39/48] Compiling NotificationManager NotificationType.swift
[40/48] Compiling NotificationManager NotificationCapabilities.swift
[41/48] Compiling NotificationManager NotificationAttachmentFactory.swift
[42/48] Compiling NotificationManager NotificationCategoryDescriptor.swift
[43/48] Compiling NotificationManager NotificationAttachmentBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Attachments/NotificationAttachmentBuilder.swift:88:21: warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
 86 |         ///   if rendering fails.
 87 |         @MainActor
 88 |         public func makeAttachment() async -> UNNotificationAttachment? {
    |                     `- warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
 89 |
 90 |             let view = ZStack {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Attachments/NotificationAttachmentBuilder.swift:147:21: warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
145 |         /// rendering fails.
146 |         @MainActor
147 |         public func makeAttachment() async -> UNNotificationAttachment? {
    |                     `- warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
148 |
149 |             let renderer = ImageRenderer(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
[44/48] Compiling NotificationManager Duration+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Attachments/NotificationAttachmentBuilder.swift:88:21: warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
 86 |         ///   if rendering fails.
 87 |         @MainActor
 88 |         public func makeAttachment() async -> UNNotificationAttachment? {
    |                     `- warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
 89 |
 90 |             let view = ZStack {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Attachments/NotificationAttachmentBuilder.swift:147:21: warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
145 |         /// rendering fails.
146 |         @MainActor
147 |         public func makeAttachment() async -> UNNotificationAttachment? {
    |                     `- warning: non-sendable type 'UNNotificationAttachment?' cannot be returned from main actor-isolated implementation to caller of protocol requirement 'makeAttachment()'; this is an error in the Swift 6 language mode
148 |
149 |             let renderer = ImageRenderer(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
[45/48] Compiling NotificationManager NotificationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:243:37: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
241 |     /// ``authorizationStatus`` accordingly.
242 |     internal func refreshAuthorizationStatus() async {
243 |         let settings = await center.notificationSettings()
    |                                     `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
244 |         self.authorizationStatus = settings.authorizationStatus
245 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:17:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
 15 | import SimpleLogger
 16 | import DefaultsKit
 17 | @_exported import UserNotifications
    |            `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
 18 |
 19 | /// A manager responsible for tracking and refreshing the app’s notification-related state,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:295:37: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
293 |     /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
294 |     public func capabilities() async -> NotificationCapabilities {
295 |         let settings = await center.notificationSettings()
    |                                     `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
296 |
297 |         #if os(macOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:667:35: warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
665 |         let resolvedCategoryIdentifier = category?.id
666 |
667 |         let requestResult = await Task { () -> Result<UNNotificationRequest, Error> in
    |                                   `- warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
668 |             let content = UNMutableNotificationContent()
669 |             content.title = title
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:667:35: warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
665 |         let resolvedCategoryIdentifier = category?.id
666 |
667 |         let requestResult = await Task { () -> Result<UNNotificationRequest, Error> in
    |                                   `- warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
668 |             let content = UNMutableNotificationContent()
669 |             content.title = title
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:694:73: warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
692 |             }
693 |
694 |             let compiledAttachments: [UNNotificationAttachment] = await withTaskGroup(
    |                                                                         `- warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
695 |                 of: UNNotificationAttachment?.self
696 |             ) { group in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:696:15: warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |             let compiledAttachments: [UNNotificationAttachment] = await withTaskGroup(
695 |                 of: UNNotificationAttachment?.self
696 |             ) { group in
    |               `- warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 for item in attachments {
698 |                     group.addTask { await item.makeAttachment() }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:698:27: warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
696 |             ) { group in
697 |                 for item in attachments {
698 |                     group.addTask { await item.makeAttachment() }
    |                           `- warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |                 }
700 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:746:11: warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
744 |             let request = UNNotificationRequest(identifier: id, content: content, trigger: trigger)
745 |             return .success(request)
746 |         }.value
    |           `- warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
747 |
748 |         switch requestResult {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:667:35: warning: non-sendable type 'Task<Result<UNNotificationRequest, any Error>, Never>' cannot exit main actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
665 |         let resolvedCategoryIdentifier = category?.id
666 |
667 |         let requestResult = await Task { () -> Result<UNNotificationRequest, Error> in
    |                                   `- warning: non-sendable type 'Task<Result<UNNotificationRequest, any Error>, Never>' cannot exit main actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
668 |             let content = UNMutableNotificationContent()
669 |             content.title = title
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:746:11: warning: non-sendable type 'Result<UNNotificationRequest, any Error>' of nonisolated property 'value' cannot be sent to main actor-isolated context; this is an error in the Swift 6 language mode
744 |             let request = UNNotificationRequest(identifier: id, content: content, trigger: trigger)
745 |             return .success(request)
746 |         }.value
    |           `- warning: non-sendable type 'Result<UNNotificationRequest, any Error>' of nonisolated property 'value' cannot be sent to main actor-isolated context; this is an error in the Swift 6 language mode
747 |
748 |         switch requestResult {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:702:17: warning: non-sendable result type 'UNNotificationAttachment??' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
700 |
701 |                 var results: [UNNotificationAttachment] = []
702 |                 for await attachment in group {
    |                 `- warning: non-sendable result type 'UNNotificationAttachment??' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
703 |                     if let attachment {
704 |                         results.append(attachment)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:775:22: warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
773 |     /// scheduled notifications.
774 |     public func pendingNotifications() async -> [UNNotificationRequest] {
775 |         await center.pendingNotificationRequests()
    |                      `- warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
776 |     }
777 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:797:22: warning: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'; this is an error in the Swift 6 language mode
795 |     /// - Returns: An array of delivered ``UNNotification`` instances.
796 |     public func deliveredNotifications() async -> [UNNotification] {
797 |         await center.deliveredNotifications()
    |                      `- warning: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'; this is an error in the Swift 6 language mode
798 |     }
799 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h:15:12: note: class 'UNNotification' does not conform to the 'Sendable' protocol
13 |
14 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
15 | @interface UNNotification : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotification' does not conform to the 'Sendable' protocol
16 |
17 | // The date displayed on the notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:876:37: warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
874 |     /// - Parameter prefix: The prefix used to match identifiers.
875 |     public func removePendingNotifications(matchingPrefix prefix: String) async {
876 |         let requests = await center.pendingNotificationRequests()
    |                                     `- warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
877 |         let ids = requests
878 |             .map(\.identifier)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:243:37: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
241 |     /// ``authorizationStatus`` accordingly.
242 |     internal func refreshAuthorizationStatus() async {
243 |         let settings = await center.notificationSettings()
    |                                     |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'notificationSettings()' risks causing data races between nonisolated and main actor-isolated uses
244 |         self.authorizationStatus = settings.authorizationStatus
245 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:775:22: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
773 |     /// scheduled notifications.
774 |     public func pendingNotifications() async -> [UNNotificationRequest] {
775 |         await center.pendingNotificationRequests()
    |                      |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'pendingNotificationRequests()' risks causing data races between nonisolated and main actor-isolated uses
776 |     }
777 |
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:205:52: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
203 |             case .notDetermined, .ephemeral:
204 |                 do {
205 |                     let granted = try await center.requestAuthorization(options: options)
    |                                                    |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'requestAuthorization(options:)' risks causing data races between nonisolated and main actor-isolated uses
206 |                     await refreshAuthorizationStatus()
207 |                     return granted ? .authorized : .denied(nil)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:232:30: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
230 |         guard [.authorized, .provisional].contains(authorizationStatus) else { return }
231 |         do {
232 |             try await center.requestAuthorization(options: options)
    |                              |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'requestAuthorization(options:)' risks causing data races between nonisolated and main actor-isolated uses
233 |         } catch {
234 |             logger.warning("Failed to request additional notification options: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:295:37: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
293 |     /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
294 |     public func capabilities() async -> NotificationCapabilities {
295 |         let settings = await center.notificationSettings()
    |                                     |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'notificationSettings()' risks causing data races between nonisolated and main actor-isolated uses
296 |
297 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:755:38: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
753 |             case .success(let request):
754 |                 do {
755 |                     try await center.add(request)
    |                                      |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'add' risks causing data races between nonisolated and main actor-isolated uses
756 |                     await refreshPendingState()
757 |                     return .success(())
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:698:35: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
696 |             ) { group in
697 |                 for item in attachments {
698 |                     group.addTask { await item.makeAttachment() }
    |                                   |       `- note: closure captures 'item' which is accessible to main actor-isolated code
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
699 |                 }
700 |
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:797:22: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
795 |     /// - Returns: An array of delivered ``UNNotification`` instances.
796 |     public func deliveredNotifications() async -> [UNNotification] {
797 |         await center.deliveredNotifications()
    |                      |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'deliveredNotifications()' risks causing data races between nonisolated and main actor-isolated uses
798 |     }
799 |
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:876:37: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
874 |     /// - Parameter prefix: The prefix used to match identifiers.
875 |     public func removePendingNotifications(matchingPrefix prefix: String) async {
876 |         let requests = await center.pendingNotificationRequests()
    |                                     |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'pendingNotificationRequests()' risks causing data races between nonisolated and main actor-isolated uses
877 |         let ids = requests
878 |             .map(\.identifier)
[46/48] Compiling NotificationManager NotificationActionDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:243:37: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
241 |     /// ``authorizationStatus`` accordingly.
242 |     internal func refreshAuthorizationStatus() async {
243 |         let settings = await center.notificationSettings()
    |                                     `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
244 |         self.authorizationStatus = settings.authorizationStatus
245 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:17:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
 15 | import SimpleLogger
 16 | import DefaultsKit
 17 | @_exported import UserNotifications
    |            `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
 18 |
 19 | /// A manager responsible for tracking and refreshing the app’s notification-related state,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:295:37: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
293 |     /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
294 |     public func capabilities() async -> NotificationCapabilities {
295 |         let settings = await center.notificationSettings()
    |                                     `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
296 |
297 |         #if os(macOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:667:35: warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
665 |         let resolvedCategoryIdentifier = category?.id
666 |
667 |         let requestResult = await Task { () -> Result<UNNotificationRequest, Error> in
    |                                   `- warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
668 |             let content = UNMutableNotificationContent()
669 |             content.title = title
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:667:35: warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
665 |         let resolvedCategoryIdentifier = category?.id
666 |
667 |         let requestResult = await Task { () -> Result<UNNotificationRequest, Error> in
    |                                   `- warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
668 |             let content = UNMutableNotificationContent()
669 |             content.title = title
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:694:73: warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
692 |             }
693 |
694 |             let compiledAttachments: [UNNotificationAttachment] = await withTaskGroup(
    |                                                                         `- warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
695 |                 of: UNNotificationAttachment?.self
696 |             ) { group in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:696:15: warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |             let compiledAttachments: [UNNotificationAttachment] = await withTaskGroup(
695 |                 of: UNNotificationAttachment?.self
696 |             ) { group in
    |               `- warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 for item in attachments {
698 |                     group.addTask { await item.makeAttachment() }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:698:27: warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
696 |             ) { group in
697 |                 for item in attachments {
698 |                     group.addTask { await item.makeAttachment() }
    |                           `- warning: type 'UNNotificationAttachment' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |                 }
700 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:746:11: warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
744 |             let request = UNNotificationRequest(identifier: id, content: content, trigger: trigger)
745 |             return .success(request)
746 |         }.value
    |           `- warning: type 'UNNotificationRequest' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
747 |
748 |         switch requestResult {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:667:35: warning: non-sendable type 'Task<Result<UNNotificationRequest, any Error>, Never>' cannot exit main actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
665 |         let resolvedCategoryIdentifier = category?.id
666 |
667 |         let requestResult = await Task { () -> Result<UNNotificationRequest, Error> in
    |                                   `- warning: non-sendable type 'Task<Result<UNNotificationRequest, any Error>, Never>' cannot exit main actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
668 |             let content = UNMutableNotificationContent()
669 |             content.title = title
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:746:11: warning: non-sendable type 'Result<UNNotificationRequest, any Error>' of nonisolated property 'value' cannot be sent to main actor-isolated context; this is an error in the Swift 6 language mode
744 |             let request = UNNotificationRequest(identifier: id, content: content, trigger: trigger)
745 |             return .success(request)
746 |         }.value
    |           `- warning: non-sendable type 'Result<UNNotificationRequest, any Error>' of nonisolated property 'value' cannot be sent to main actor-isolated context; this is an error in the Swift 6 language mode
747 |
748 |         switch requestResult {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:702:17: warning: non-sendable result type 'UNNotificationAttachment??' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
700 |
701 |                 var results: [UNNotificationAttachment] = []
702 |                 for await attachment in group {
    |                 `- warning: non-sendable result type 'UNNotificationAttachment??' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
703 |                     if let attachment {
704 |                         results.append(attachment)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationAttachment' does not conform to the 'Sendable' protocol
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:775:22: warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
773 |     /// scheduled notifications.
774 |     public func pendingNotifications() async -> [UNNotificationRequest] {
775 |         await center.pendingNotificationRequests()
    |                      `- warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
776 |     }
777 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:797:22: warning: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'; this is an error in the Swift 6 language mode
795 |     /// - Returns: An array of delivered ``UNNotification`` instances.
796 |     public func deliveredNotifications() async -> [UNNotification] {
797 |         await center.deliveredNotifications()
    |                      `- warning: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'; this is an error in the Swift 6 language mode
798 |     }
799 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h:15:12: note: class 'UNNotification' does not conform to the 'Sendable' protocol
13 |
14 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
15 | @interface UNNotification : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotification' does not conform to the 'Sendable' protocol
16 |
17 | // The date displayed on the notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:876:37: warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
874 |     /// - Parameter prefix: The prefix used to match identifiers.
875 |     public func removePendingNotifications(matchingPrefix prefix: String) async {
876 |         let requests = await center.pendingNotificationRequests()
    |                                     `- warning: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'; this is an error in the Swift 6 language mode
877 |         let ids = requests
878 |             .map(\.identifier)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:243:37: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
241 |     /// ``authorizationStatus`` accordingly.
242 |     internal func refreshAuthorizationStatus() async {
243 |         let settings = await center.notificationSettings()
    |                                     |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'notificationSettings()' risks causing data races between nonisolated and main actor-isolated uses
244 |         self.authorizationStatus = settings.authorizationStatus
245 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:775:22: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
773 |     /// scheduled notifications.
774 |     public func pendingNotifications() async -> [UNNotificationRequest] {
775 |         await center.pendingNotificationRequests()
    |                      |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'pendingNotificationRequests()' risks causing data races between nonisolated and main actor-isolated uses
776 |     }
777 |
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:205:52: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
203 |             case .notDetermined, .ephemeral:
204 |                 do {
205 |                     let granted = try await center.requestAuthorization(options: options)
    |                                                    |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'requestAuthorization(options:)' risks causing data races between nonisolated and main actor-isolated uses
206 |                     await refreshAuthorizationStatus()
207 |                     return granted ? .authorized : .denied(nil)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:232:30: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
230 |         guard [.authorized, .provisional].contains(authorizationStatus) else { return }
231 |         do {
232 |             try await center.requestAuthorization(options: options)
    |                              |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'requestAuthorization(options:)' risks causing data races between nonisolated and main actor-isolated uses
233 |         } catch {
234 |             logger.warning("Failed to request additional notification options: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:295:37: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
293 |     /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
294 |     public func capabilities() async -> NotificationCapabilities {
295 |         let settings = await center.notificationSettings()
    |                                     |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'notificationSettings()' risks causing data races between nonisolated and main actor-isolated uses
296 |
297 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:755:38: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
753 |             case .success(let request):
754 |                 do {
755 |                     try await center.add(request)
    |                                      |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'add' risks causing data races between nonisolated and main actor-isolated uses
756 |                     await refreshPendingState()
757 |                     return .success(())
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:698:35: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
696 |             ) { group in
697 |                 for item in attachments {
698 |                     group.addTask { await item.makeAttachment() }
    |                                   |       `- note: closure captures 'item' which is accessible to main actor-isolated code
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
699 |                 }
700 |
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:797:22: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
795 |     /// - Returns: An array of delivered ``UNNotification`` instances.
796 |     public func deliveredNotifications() async -> [UNNotification] {
797 |         await center.deliveredNotifications()
    |                      |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'deliveredNotifications()' risks causing data races between nonisolated and main actor-isolated uses
798 |     }
799 |
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:876:37: warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
874 |     /// - Parameter prefix: The prefix used to match identifiers.
875 |     public func removePendingNotifications(matchingPrefix prefix: String) async {
876 |         let requests = await center.pendingNotificationRequests()
    |                                     |- warning: sending 'self.center' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending main actor-isolated 'self.center' to nonisolated instance method 'pendingNotificationRequests()' risks causing data races between nonisolated and main actor-isolated uses
877 |         let ids = requests
878 |             .map(\.identifier)
[47/48] Compiling NotificationManager ImageRenderer+Ext.swift
[48/48] Compiling NotificationManager NSImage+Ext.swift
Build complete! (17.81s)
Fetching https://github.com/markbattistella/SimpleLogger
Fetching https://github.com/markbattistella/DefaultsKit
[1/108] Fetching simplelogger
[109/216] Fetching simplelogger, defaultskit
Fetched https://github.com/markbattistella/SimpleLogger from cache (0.67s)
Fetched https://github.com/markbattistella/DefaultsKit from cache (0.67s)
Computing version for https://github.com/markbattistella/SimpleLogger
Computed https://github.com/markbattistella/SimpleLogger at 2.0.0 (1.15s)
Computing version for https://github.com/markbattistella/DefaultsKit
Computed https://github.com/markbattistella/DefaultsKit at 25.11.22 (0.43s)
Creating working copy for https://github.com/markbattistella/SimpleLogger
Working copy of https://github.com/markbattistella/SimpleLogger resolved at 2.0.0
Creating working copy for https://github.com/markbattistella/DefaultsKit
Working copy of https://github.com/markbattistella/DefaultsKit resolved at 25.11.22
Build complete.
{
  "dependencies" : [
    {
      "identity" : "defaultskit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "25.0.0",
            "upper_bound" : "26.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/DefaultsKit"
    },
    {
      "identity" : "simplelogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/SimpleLogger"
    }
  ],
  "manifest_display_name" : "NotificationManager",
  "name" : "NotificationManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "NotificationManager",
      "targets" : [
        "NotificationManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotificationManager",
      "module_type" : "SwiftTarget",
      "name" : "NotificationManager",
      "path" : "Sources/NotificationManager",
      "product_dependencies" : [
        "DefaultsKit",
        "SimpleLogger"
      ],
      "product_memberships" : [
        "NotificationManager"
      ],
      "sources" : [
        "Attachments/ImageRenderer+Ext.swift",
        "Attachments/NSImage+Ext.swift",
        "Attachments/NotificationAttachmentBuilder.swift",
        "Core/Duration+Ext.swift",
        "Core/NotificationManager.swift",
        "Descriptors/NotificationActionDescriptor.swift",
        "Descriptors/NotificationAttachmentFactory.swift",
        "Descriptors/NotificationCategoryDescriptor.swift",
        "Descriptors/NotificationType.swift",
        "Models/NotificationCapabilities.swift",
        "Models/NotificationError.swift",
        "Models/NotificationState.swift",
        "Models/NotificationWeekday.swift",
        "Models/PermissionStatus.swift",
        "Persistence/NotificationsUserDefaultsKey.swift",
        "Persistence/UserDefaults+Suite.swift",
        "Sound/NotificationSound.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.