-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lion #16
Comments
Ouch! This looks like a lot of work. But I will have a look. |
running lion and Xcode 4.2 this doesn't compile due to quite a few deprecated (and apparently completely removed) code. Undefined symbols for architecture x86_64: |
Now that Mountain Lion is out it'd be great to use non-depricated calls. |
Hi, thanks for the example code and hopefully I can return the favour as I've just finished upgrading this code to sort all the deprecated warnings. The OpenSSL ones can be dealt with by statically linking OpenSSL. This is simple as long as you do the following when you download and build OpenSSL locally (just from the command line): There are 4 Security library bits that also got deprecated in the code getting the Apple Root CA. If you replace everything after the keychain open with the code below then it does the same thing using alternate library functions available from 10.6 onwards. Based on testing but with little help from the very sparse documentation on the Apple side (wouldn't it be really helpful when deprecating something to suggest the alternative!!!), this all seems to work:
|
There are lots of deprecated warning under Lion: http://cl.ly/8f1r
The text was updated successfully, but these errors were encountered: