-
Notifications
You must be signed in to change notification settings - Fork 208
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
iOS build failing #285
Comments
Could you please give more details on how it's "not building"? It would really help us diagnose the problem if you could:
Thanks! |
Thanks for the quick reply!
Did you try to build one of the examples of rust-godot for iOS before? Kind regards |
I must admit that I haven't tried building for iOS yet, so a log can be really helpful in determining how serious the problem is, and what its cause might be. If the cargo output is too long, just post the first few errors: something is better than nothing! |
Hey, sorry took bit longer than expected. Enclosed please find the output log
So probably it is required to install the toolchain of llvm besides Xcode using Kind regards, |
LLVM is one of the dependencies of bindgen. Does this mean your problem is resolved, or is there anything that still needs to be handled? |
Tried on macOS Catalina 10.15.2 with XCode 11.3.1, can confirm that this is happening with the current Stacktrace from `cargo lipo`
Standalone invocation of the bindgen CLI yielded an clang error consistent with the linked bindgen issue: |
There is an issue in bindgen that prevents building for the aarch64-apple-ios target. This works arounds the issue by replacing aarch64 with arm64 which clang can understand. Also fixes conditional includes for macOS, which was using the target of the *build script* instead of the target we're building for. Close #285
Hm unfortunately Im unable to install llvm-config using |
|
Great job - works !!! |
Hey,
Just tried out to build the spinning cube example form ios. Unfortunately it is not building using cargo-lipo and the required toolchain.
Any advise?
Kind regards,
Schreda
The text was updated successfully, but these errors were encountered: