This replaces the deprecated SecTrustEvaluate with SecTrustEvaluateWithError and will log certificate errors to aid during debugging.
An example reported certificate error is:
Error Domain=NSOSStatusErrorDomain Code=-67843 ""GTS Root R1" certificate is not trusted" UserInfo={NSLocalizedDescription="GTS Root R1" certificate is not trusted
This replaces the deprecated SecTrustEvaluate with SecTrustEvaluateWithError and will log certificate errors to aid during debugging.
An example reported certificate error is:
Error Domain=NSOSStatusErrorDomain Code=-67843 ""GTS Root R1" certificate is not trusted" UserInfo={NSLocalizedDescription="GTS Root R1" certificate is not trusted