-
Notifications
You must be signed in to change notification settings - Fork 38
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
Build error on macOS 10.12 #25
Comments
I ran into the same issue. After digging deeper the issue for seemed to be that I had multiple clang versions installed (
I am pretty that there should way coreaudio-sys could avoid setting up an inconsistent bindgen |
having the same problem on osx 10.14 with Command Line Tools but not XCode installed
|
I also experienced this on Mac 11.2.3 when updating command line tools/XCode. You can verify the path the build script looks in: At the time, I noticed one of these would not open in Finder (perhaps because I had two command line tools versions). That indicated that perhaps the symlink was not properly working. One workaround that I found did work was defining the environment variable |
The problem I hadMissing headers for IOS builds. This bit of code used in let sdk = if target.contains("apple-darwin") {
"macosx"
} else if target == "x86_64-apple-ios" || target == "i386-apple-ios" {
"iphonesimulator"
} else if target == "aarch64-apple-ios"
|| target == "armv7-apple-ios"
|| target == "armv7s-apple-ios"
{
"iphoneos"
} else {
unreachable!();
}; Then a command is run to determine where the SDK is let output = Command::new("xcrun")
.args(&["--sdk", sdk, "--show-sdk-path"])
.output()?
.stdout; The command run in the upper snippet is It errors when it does not find the SDK which is searched for. ex.
which will result that the The solutionSDKs for |
I'm working on a Rust + Bevy project and I ran into this problem. The following solution worked for me:
|
The header is here:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h
The text was updated successfully, but these errors were encountered: