allowsAnyHTTPSCertificateForHost error

I am loading files from the iCloud drive and I am getting the following error message:
Code Block
nil host used in call to allowsAnyHTTPSCertificateForHost

Code Block
NSURLConnection finished with error - code -1002

even though the path to my files begins with file://

It doesn't happen all the time and it doesn't happen on the same file every time.

Any ideas why this is happening? Any suggestions as to how to fix this?

Any Update?

allowsAnyHTTPSCertificateForHost error
 
 
Q