hohl / MIHCrypto

OpenSSL wrapper for Objective-C [cryptography]
MIT License
341 stars 68 forks source link

Any plan to support OSX 10.11? #47

Closed ryderfang closed 7 years ago

ryderfang commented 7 years ago

Hi,i got many warnings with XCode 7 & OSX 10.11

qq20160920-0

so how can i do RSA encrypt in OSX 10.11 El Capitan?

hohl commented 7 years ago

How did you import the MIHCrypto project? This doesn't look like you installed it via CocoaPods?

These errors you're seeing telling you, that the OpenSSL version which has been build into OS X and iOS is deprecated and should not get used anymore. That's why MIHCrypto ships with an own up-to-date copy of OpenSSL which then gets bundled to your app when you ship it.

However, if you for example just copy the MIHCrypto sources into your project, you need to manually build an up-to-date copy of OpenSSL and link it to your project. This is the reason why using CocoaPods is the recommended way of using MIHCrypto, because it does all that already for you.

ryderfang commented 7 years ago

@hohl Thanks! I copy the source just as you said, so i can solve it!