swift build
Building for debugging...
/Users/xxxxxx/code/MacosUseSDK/Sources/MacosUseSDK/AppOpener.swift:168:58: error: non-sendable result type 'NSRunningApplication' cannot be sent from nonisolated context in call to instance method 'openApplication(at:configuration:)'
166 |
167 | do {
168 | let runningApplication = try await workspace.openApplication(at: finalAppURL, configuration: configuration)
| `- error: non-sendable result type 'NSRunningApplication' cannot be sent from nonisolated context in call to instance method 'openApplication(at:configuration:)'
169 | logStepCompletion("opening/activating application async call completed") // Call method
170 |
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSRunningApplication.h:63:12: note: class 'NSRunningApplication' does not conform to the 'Sendable' protocol
61 | */
62 | API_AVAILABLE(macos(10.6))
63 | @interface NSRunningApplication : NSObject
| `- note: class 'NSRunningApplication' does not conform to the 'Sendable' protocol
64 |
65 | /// Indicates that the process is an exited application.