Can't compile any code targeting macOS with latest toolchains #76077
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
Besides embedded targets my installed Swift toolchain is unusable. It is incapable of compiling any code that in any way depends on the
Darwin
module. This makes it impossible to use system APIs, any C/C++ libraries that depend on the OS like SDL2, Swift scripts that importDarwin
, language features like macros which depend onSwiftSyntax
and so on.There appears to be a conflict between Swift toolchains and the SDK provided by the latest (either 15.0 or 15.1) developer beta of Xcode. Using the built in Swift toolchain from Xcode works but is missing some features I need from newer toolchains.
Reproduction
N/A
Expected behavior
The toolchains to be usable.
Environment
Apple Swift version 6.1-dev (LLVM 9d45b9c9d5c48a0, Swift 08721cf939ec503)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: