openssl libs in Xcode 4

后端 未结 3 552
臣服心动
臣服心动 2021-01-07 10:04

as the title suggests, I\'m struggling to make the inclusion of openssl libs in my xcode iOs project, such as:

#include 
#include 

        
3条回答
  •  灰色年华
    2021-01-07 10:38

    For me, using OpenSSL on iOS involved building OpenSSL from source for the iOS architectures (though I suppose finding pre-compiled libs would also work), then adding the OpenSSL header files and configuring the project's Header Search Paths appropriately. I used this as a rough guide.

    Just be sure you really need OpenSSL before you commit. There are lots of built-in crypto routines in Apple's CommonCrypto and Security frameworks.

提交回复
热议问题