-
Notifications
You must be signed in to change notification settings - Fork 681
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
TargetConditionals.h not found building on MacOS #1942
Comments
I think it's a problem with the Xcode installation, checking now. |
I had forgotten to also update the command line tools but that didn't fix it. The file exists here: So I will try to add that include path and see what happens. |
This hack fixes the problem right now:
But I am curious what the proper fix would be. |
Based on reading rust-lang/cc-rs#902 it looks like the issue could be related to IPHONEOS_DEPLOYMENT_TARGET/MACOS_DEPLOYMENT_TARGET/etc and/or the version of cc-rs in use. |
@tmpfs It seems like cc-rs has had a lot of issues recently regarding Apple targets, and I think this is likely due to them. I think the later cc-rs versions have rectified things. Are things working for you now? If not, please reopen this. |
Can confirm compilation working for me again on e943bfc, thank you @briansmith 🙏 |
Hi,
I recently upgraded to XCode 15 and suddenly ring stops compiling for MacOS targets (both aarch64 and x86_64) here is the output:
I was compiling against
ring@0.17.5
and have tried updating toring@0.17.7
and the problem still happens.I have checked against 6762d65 and I get the same error with either of:
Any idea how I can resolve this please?
The text was updated successfully, but these errors were encountered: