gpt4 book ai didi

objective-c - 在 Xcode 中使用 libssl

转载 作者:搜寻专家 更新时间:2023-10-30 20:27:29 24 4
gpt4 key购买 nike

我尝试包含 openssl(我尝试实现一个 ssh 客户端)并且我已经将 libssl.dylib 添加到我的 Xcode 项目中。但我不知道我必须包含哪个 header 才能使用它。谁能告诉我如何在 Xcode 中使用 libssl 的教程?

谢谢

最佳答案

关于包含,OpenSSL 没有什么特别之处,它在标准 SDK 中,您可以从 openssl/* 中包含所需的头文件,例如:

#include <openssl/bio.h>

关于objective-c - 在 Xcode 中使用 libssl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3029198/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com