Mac 应用商店——试图让加密发挥作用...我错过了什么? [英] Mac app store -- trying to get encryption to work . . . what am I missing?

查看:23
本文介绍了Mac 应用商店——试图让加密发挥作用...我错过了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Alan Quartermain 的解决方案,链接自此问题,Mac App Store收据验证码? 我一直在链接时遇到一堆未知符号错误.以下是一些未知符号:_BIO_new_BIO_ctrl__EVP_sha1_X509_STORE_free.谁能告诉我我需要做什么才能摆脱这些错误?

I am trying to use Alan Quartermain's solution as linked from this question, Mac App Store Receipt Validation Code? I keep running into a bunch of unknown symbol errors at link time. Here are some of the unknown symbols: _BIO_new, _BIO_ctrl_, _EVP_sha1, _X509_STORE_free. Can anyone clue me in to what I need to do to get rid of these errors?

我做过的事情:

  • 安装 OS X 10.6.7 组合更新
  • 安装 Xcode 3.2.5
  • 安装 Xcode 开发者工具 1.1
  • 链接框架:
    • 安全;
    • 安全基金会;
    • 安全接口;
    • IOKit;
    • 核心服务.

    谢谢.

    推荐答案

    您列出的所有符号都由 libcrypto 导出,它是 OpenSSL 的一部分.您是否也尝试过链接 libcrypto?您可以通过编辑项目设置、构建选项卡、其他链接器标志并指定 -lcrypto 来实现.

    All the symbols you’ve listed are exported by libcrypto, which is part of OpenSSL. Have you tried linking libcrypto as well? You can do that by editing your project settings, Build tab, Other Linker Flags, and specifying -lcrypto.

    这篇关于Mac 应用商店——试图让加密发挥作用...我错过了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆