Configuration
Configuration copied to clipboard
URLSession import fix
Trying to fix URLSession move to FoundationNetworking
Description
Getting the flowing error on the latest version of Configuration, even though I am using Swift 5.1.1 version.
[821/832] Compiling Configuration ConfigurationManager.swift
/workspace/.build/checkouts/Configuration/Sources/Configuration/ConfigurationManager.swift:56:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session = URLSession(configuration: URLSessionConfiguration.default)
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
Motivation and Context
Trying to fix URLSession move to FoundationNetworking
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Awad Owda seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.