swift-async-algorithms icon indicating copy to clipboard operation
swift-async-algorithms copied to clipboard

Build fails with macOS SDK on Xcode 14 RC (14A309)

Open sinoru opened this issue 2 years ago • 2 comments

It does build fails on Xcode 14 RC (14A309)

I don't know which channel will be good for reports this issue, so I post it on here. If this is not appropriate, please let me know.

image

sinoru avatar Sep 09 '22 16:09 sinoru

Unfortunately Xcode 14.0 builds with Swift 5.7 on the 5.6 standard library, so we're going to run into issues like this until a better compilation condition is used. A possible fix would be to check for an actual macOS 13 framework rather than just Swift 5.7 but I'd hope Apple has a better suggestion.

jshier avatar Sep 09 '22 17:09 jshier

Might be it can be checked with #if swift(>=5.7)?

I though #if swift(>=5.7) for stdlib, and #if compiler(>=5.7) for compiler.

sinoru avatar Sep 12 '22 09:09 sinoru

Is this still relevant? I feel like this can be closed.

MaxDesiatov avatar Mar 22 '23 15:03 MaxDesiatov