You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: