Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile any code targeting macOS with latest toolchains #76077

Open
TeamPuzel opened this issue Aug 25, 2024 · 0 comments
Open

Can't compile any code targeting macOS with latest toolchains #76077

TeamPuzel opened this issue Aug 25, 2024 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels

Comments

@TeamPuzel
Copy link

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 import Darwin, language features like macros which depend on SwiftSyntax 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

@TeamPuzel TeamPuzel added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels labels Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

1 participant