Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URLSession import fix #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

URLSession import fix #62

wants to merge 1 commit into from

Conversation

awadodeh
Copy link

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

@CLAassistant
Copy link

CLAassistant commented Apr 5, 2020

CLA assistant check
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.

@sonarcloud
Copy link

sonarcloud bot commented Nov 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants