-
Notifications
You must be signed in to change notification settings - Fork 709
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'm on Sequoia 15.0.1 using Xcode 16.0. I am trying to cross build for android (any target) with I have another mac running Xcode 15.4 and it's working fine. I've also opened an issue on The crucial part is that this happens only when ring is a build dependency, not when it's a regular dependency. Here is the full error:
|
Same problem too |
Just started getting this error, everything worked fine yesterday. Sorry for posting here, I don't think it is a ring issue, but it is the one that surfaces the issue. stack
|
This is a |
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
[email protected]
and have tried updating to[email protected]
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: