-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Issue Building from Source - Swift 6 Sendable Issue?
Hi @Saik0s ,
First off, I wanted to say Whisperboard is a fantastic app! I've been using the version from the App Store and really appreciate your work.
I'm interested in contributing by developing some new features. However, I've run into an issue when trying to build the project from source. Following the standard build process, the compilation fails.
The error seems to be related to Swift 6's new Sendable feature. Interestingly, I haven't made any manual edits to the codebase, and I've double-checked the Xcode project configuration, which indicates Swift 5 compatibility. There's no indication of Swift 6 preview features being enabled either.
I'm completely stumped as to why this might be happening. Could you please take a look when you have a moment? Any guidance or suggestions would be greatly appreciated.
Thank you for your time and help!
/Users/bc/Developer/Whisperboard/Sources/AudioProcessing/TranscriptionStream.swift
/Users/bc/Developer/Whisperboard/Sources/AudioProcessing/TranscriptionStream.swift:62:30 Capture of 'copyState' with non-sendable type 'TranscriptionStream.State' in a '@Sendable' closure
Consider making struct 'State' conform to the 'Sendable' protocol
