I am trying to build SwiftHTTP files directly in my project (ie. without a separate SwiftHTTP project) to work around some bundling issues. I am using Xcode 9.4.1.
I get the following compilation error:
Ambiguous use of 'init(urlString:parameters:headers:cachePolicy:timeoutInterval:)'
in Operation.swift:275
This exact chunk is the problem: URLRequest(urlString: url, headers: headers)
How can I refactor this piece to make it build?
Thanks