-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
使用vcpkg::openssl的时候,在ios上报错”Invalid triplet: arm64-iphoneos" #4988
Comments
Title: When using vcpkg::openssl, an error "Invalid triplet: arm64-iphoneos" is reported on ios |
openssl3 和 openssl 分开为两个包 |
xrepo里自带的包不支持iphoneos/arm64 |
openssl3 and openssl are separated into two packages |
The package that comes with xrepo does not support iphoneos/arm64 |
不支持,就提个 pr 过来改进下包 |
If it is not supported, please submit a PR to improve the package. |
这个修复了, |
xmake-io/xmake-repo#3828 |
Xmake 版本
2.8.8
操作系统版本和架构
macos Sonoma 14.2.1
描述问题
需要用openssl3.0以上版本,发现xrepo里没有,所以就用了vcpkg里的。
编译mac版本的时候很顺利,但是编译ios版本的时候vcpkg报错。
error: Invalid triplet: arm64-iphoneos
我发现用vcpkg install openssl --triplet=arm64-ios是可以的
期待的结果
能正常使用vcpkg::openssl
工程配置
add_requires("vcpkg::openssl")
附加信息和错误日志
xmake f -p iphoneos
The text was updated successfully, but these errors were encountered: