Skip to content

Building with Xcode 16.3 from Source Failed - Swift 6 Sendable Issue? #47

@bingcheng1998

Description

@bingcheng1998

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!

Image
/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
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions