Reply to How to delete the warning 'This method should not be called on the main thread as it may lead to UI unresponsiveness.' shown in xCode14 I have the same problem. It occurs at the following command line. trustCert = SecTrustEvaluateWithError(serverTrust, nil); How can I solve this. Developer Tools & Services Xcode Sep ’22