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

Update Xcode toolchain locations for Xcode 15 #1842

Open
cjhowedev opened this issue Apr 17, 2024 · 2 comments
Open

Update Xcode toolchain locations for Xcode 15 #1842

cjhowedev opened this issue Apr 17, 2024 · 2 comments

Comments

@cjhowedev
Copy link
Contributor

Brief Description

Xcode does not store its C++ headers at /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 any longer. It seems they now need to be selected by their SDK, so it should be /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++ instead for Xcode 15+.

OS: macOS 14.4.1

Used headers
Used settings

Target: Clang

Other settings

Stack trace or incompilable generated code
Error: Could not find a valid C++ include folder: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
@tritao
Copy link
Collaborator

tritao commented Apr 17, 2024

Can you send a PR for this? Don't have a recent Mac machine at this time.

@cjhowedev
Copy link
Contributor Author

The build doesn't seem to work under Rosetta x86_64 or arm64 on my M1 Macbook. Not sure if the compiled LLVM binaries for arm64 are working. We will likely need to get the arm64 build working for me to contribute, but this is something we also likely need to do for MacOS support going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants