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

ios 编译版本后 lipo info 发现libcrypto.a仅支持x86_64架构,能帮忙看下是build-openssl4ios.sh哪里设置错了吗? #40

Open
zhoujian12 opened this issue May 13, 2019 · 2 comments

Comments

@zhoujian12
Copy link

zhoujian12 commented May 13, 2019

ios 编译版本后 lipo info 发现libcrypto.a仅支持x86_64架构

Non-fat file: /Users/zhoujian09/Downloads/ChinaCrptoOpenssl/openssl_for_ios_and_android-master/tools/openssl-1.1.1b/libcrypto.a is architecture: x86_64

@zhoujian12 zhoujian12 changed the title ios only support i386 when build 1.1.1b ios 编译版本后 lipo info 发现libcrypto.a仅支持x86_64架构,能帮忙看下是build-openssl4ios.sh哪里设置错了吗? May 13, 2019
@dourgulf
Copy link
Contributor

dourgulf commented Jun 3, 2019

If you can't compile with this version, please modify the version to it which on your mac.

SDK_VERSION=""12.1""
这里要改到跟你系统的SDK版本一致。
xcodebuild -showsdks可以看到你自己系统的SDK版本。

@dourgulf
Copy link
Contributor

dourgulf commented Jun 3, 2019

我提交了一个PR,检查这个SDK_VERSION的设置,如果不正确的话,打印一个错误提示,并显示一个查询系统SDK版本的结果出来。

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