Skip to content
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 building for apple-ios-macabi target #443

Closed
jurvis opened this issue May 19, 2022 · 2 comments
Closed

Error building for apple-ios-macabi target #443

jurvis opened this issue May 19, 2022 · 2 comments

Comments

@jurvis
Copy link

jurvis commented May 19, 2022

Hello, I'm trying to build this library for Mac Catalyst targets, specifically aarch64-apple-ios-macabi and x86_64-apple-ios-macabi.

However, when running cargo build, I get the following error:

❯ cargo build --target x86_64-apple-ios-macabi --release --lib                                                                  ⏎
   Compiling secp256k1-sys v0.5.2 (/Users/jurvistest/Projects/rust-secp256k1/secp256k1-sys)
The following warnings were emitted during compilation:

warning: clang: error: invalid version number in '--target=x86_64-apple-ios13.0-macabi'

error: failed to run custom build command for `secp256k1-sys v0.5.2 (/Users/jurvistest/Projects/rust-secp256k1/secp256k1-sys)

Here's the full build output: https://termbin.com/dulp

any ideas?

@jurvis
Copy link
Author

jurvis commented May 23, 2022

sorry, learned that this is likely due to an upstream issue with cc to be addressed in rust-lang/cc-rs#678

closing.

@apoelstra
Copy link
Member

Thanks for digging into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants