-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error: Library not loaded: @rpath/libclang.dylib #7
Comments
Hi! Glad you're reading the tutorial! Yeah. It seems that recent macos/LLVM stuff has broken the bindgen part of this. I've noticed that adding the Something like: Let me know if there's anything else you're struggling with. There's a bunch of weird edge cases with iOS rust stuff. |
Hi, I'm having the same issue. I don't understand this command line:
Please explain how to include uikit-sys from an existing Cargo.toml like you're speaking to a 5-year old? :) |
There's some bug I've not dug into quite yet with bindgen and llvm between apple's llvm version and what bindgen uses. I've not quite narrowed it down entirely. This line tells Now that I look at it, I have/had a typo in the shell expansion between bash and make above. The Makefile environment variable requires
Right now So, try something like: [dependencies]
uikit-sys = { git = "https://github.com/simlay/uikit-sys"} |
Thanks, makes sense.
and second:
Is this a known issue? |
I'm open to a PR if you wanna add that case. I actually don't know much about the
This is a new one. There's probably some item that needs to be added to the blocklist. Tracking it down can be a bit of a pain. Which compiler target, and iOS sdk was it? I've not ran any of this tested with Xcode 14 so the SDK's could have changed. |
Sent a PR for the initial Catalyst support as well as a fix. Could you give it a try with a regular (iOS) target and a catalyst ( |
I tried to follow this tutorial: https://simlay.net/posts/using-uikit-sys/
But the cargo build return:
What I did, with no results:
My libclang dylib path:
/Library/Developer/CommandLineTools/usr/lib/libclang.dylib
There is something more to do?
The text was updated successfully, but these errors were encountered: