Restructure @Dependency
property and use BFS for DependencyManager
#711
Annotations
10 warnings
Build and test (xcodebuild):
Sources/Spezi/Spezi/Spezi+Preview.swift#L65
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
|
Build and test (xcodebuild):
Sources/Spezi/Spezi/Spezi+Preview.swift#L71
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
|
Build and test (xcodebuild):
Sources/XCTSpezi/DependencyResolution.swift#L37
'lifecycleHandler' is deprecated: Please use the new @Application property wrapper to access delegate functionality. Otherwise use the SwiftUI onReceive(_:perform:) for UI related notifications.
|
Build and test (xcodebuild):
Sources/XCTSpezi/DependencyResolution.swift#L37
'willFinishLaunchingWithOptions(_:launchOptions:)' is deprecated: Please use the new @Application(\.launchOptions) property wrapper within your Module to access launchOptions in a platform independent way.
|
Build and test (xcodebuild):
Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift#L76
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by nonisolated instance method 'handleNotificationAction' cannot cross actor boundary; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Tests/SpeziTests/CapabilityTests/Notifications/NotificationsTests.swift#L11
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
|
Build and test (xcodebuild):
Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift#L80
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by nonisolated instance method 'receiveIncomingNotification' cannot cross actor boundary; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift#L86
non-sendable type '[AnyHashable : Any]' in parameter of the protocol requirement satisfied by nonisolated instance method 'receiveRemoteNotification' cannot cross actor boundary; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift#L76
non-sendable type 'UNNotificationResponse' in parameter of the protocol requirement satisfied by nonisolated instance method 'handleNotificationAction' cannot cross actor boundary; this is an error in the Swift 6 language mode
|
Build and test (xcodebuild):
Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift#L80
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by nonisolated instance method 'receiveIncomingNotification' cannot cross actor boundary; this is an error in the Swift 6 language mode
|
Loading