For me downgrading TLS to 1.2 fixes the issue:
let configuration = URLSessionConfiguration.default
#if targetEnvironment(simulator)
configuration.tlsMaximumSupportedProtocolVersion = .TLSv12
#endif
let session = URLSession(configuration: configuration)
Topic:
App & System Services
SubTopic:
Networking
Tags: