maxgoedjen / secretive

Store SSH keys in the Secure Enclave

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch concurrency warnings to complete

maxgoedjen opened this issue · comments

Once Xcode 15.4 is out.

Hi @maxgoedjen

Does this have to do with the following error, which is showing up for me in /Users/paul/src/secretive/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift::120 for instance?

Instance methods of non-Sendable types cannot be marked as '@Sendable'; this is an error in Swift 6

I spent quite a while trying to debug this, but since it's code I didn't touch, I believe it might an issue with the (my?) current toolchain.

@PBHDK yeah, that's it – any time you see Sendability mentioned that's related to this, not anything wrong with your toolchain.

@maxgoedjen oh, that's unfortunate.

Is there an obvious workaround I'm missing? ATM, I'm not able to build because of this ...

@PBHDK for the moment, you can turn down the concurrency warnings – there's a few in Xcode settings, and a few in the package. Try setting them to "minimal" or "targeted".

Will do. Thanks, @maxgoedjen !