如何静态链接OpenSSL与我的应用程序在Xcode? [英] How to statically link OpenSSL with my app in Xcode?

查看:241
本文介绍了如何静态链接OpenSSL与我的应用程序在Xcode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是使用OpenSSL Crypto库的第三方代码。自从OSX 10.7以来,Apple已经不赞成使用OpenSSL来支持自己的解决方案了。



由于我没有加密编码的经验,我不能移植第三方代码使用通用加密。所以为了防止苹果可能稍后删除OpenSSL的可能性,有没有办法静态链接它与我的应用程序在Xcode?

我添加的部分'在Xcode'因为我是新的Xcode太,所以当你告诉我像'放标志X',那么请也解释一下在Xcode接口,我可以把'标志X'。感谢您阅读。

解决方案

最后找到了一个好的来源。


  1. 此博文包含大量链接和信息 - http://programmer-in-paradise.blogspot.com/2011/07/how-to-build-openssl-in-xcode.html

  2. 对于这个问题, https://github.com / sqlcipher / openssl-xcode


I am using a third party code which uses OpenSSL Crypto library. Since OSX 10.7 Apple has deprecated the use of OpenSSL in favor of their own solution.

Since I have no experience in Crypto coding, I cannot port the third party code to use Common Crypto. So to safeguard against the possibility that Apple may later drop OpenSSL, is there a way to statically link it with my app in Xcode?

I added the part 'in Xcode' since I am new to Xcode too, so when you tell me something like 'put flag X' then please also explain from where in Xcode interface I can put that 'flag X'. Thanks for reading this.

解决方案

Finally found a good source.

  1. This blog post contains a lot of links and information - http://programmer-in-paradise.blogspot.com/2011/07/how-to-build-openssl-in-xcode.html
  2. For just following this one, did the trick - https://github.com/sqlcipher/openssl-xcode

这篇关于如何静态链接OpenSSL与我的应用程序在Xcode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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