openssl libs in Xcode 4

3 Solutions Collect From Internet About “openssl libs in Xcode 4”

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.

I ended up using ios-openssl, which worked very well for me.

I downloaded openssl from OpenSSL.org (see the version marked “LATEST”) and used this iOS build procedure. So far all is going well for me, but I’m in early stages of this development. The reason I needed OpenSSL was to do on-device in-app purchase receipt validation (see this Apple page on Validating Receipts Locally).