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
SecTrustEvaluate is deprecated in iOS 13.0 and up #536
Comments
Hi @15joeybloom - we are working on a major version bump (v5) of the braintree_ios SDK. In v5, the PayPal One Touch framework will be removed. Temporarily, I would not treat the deprecation warning as a compiler error so you can still use the SDK until we get a new version out. |
Looking now - I notice we also use this function in our |
Hi - circling back on this. You can instead add: |
Hi @15joeybloom, we just released a beta version of the SDK that should resolve this deprecation warning. I'll leave this issue open until these changes are in GA. If you want to try it out, here is the version 5 migration guide. |
This has been fixed in version 5.0.0. Please see our migration guide for steps to upgrade your integration. |
Integration Details (please complete the following information):
Describe the bug
SDK does not compile in Xcode 12.0 beta release 6 due to this line:
braintree_ios/BraintreePayPal/PayPalUtils/PPOTURLSession.m
Line 120 in 50d28cc
'SecTrustEvaluate' is deprecated: first deprecated in iOS 13.0
Replace 'SecTrustEvaluate' with ‘SecTrustEvaluateWithError'
The text was updated successfully, but these errors were encountered: