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

[SR-10846] Cannot import FoundationNetworking on Linux #3408

Closed
swift-ci opened this issue Jun 6, 2019 · 2 comments
Closed

[SR-10846] Cannot import FoundationNetworking on Linux #3408

swift-ci opened this issue Jun 6, 2019 · 2 comments

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Jun 6, 2019

Previous ID SR-10846
Radar None
Original Reporter djones6 (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

Ubuntu 16.04 x64

swift-5.1-DEVELOPMENT-SNAPSHOT-2019-05-29-a

Additional Detail from JIRA
Votes 1
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 4e053fa7cd3c2c1dae6dacbf2124fa98

is duplicated by:

  • SR-10848 swift 5.1: can't import FoundationNetworking

Issue Description:

Attempting to import FoundationNetworking on Linux with the latest 5.1 snapshot results in:

/home/djones6/swift51/Test/Sources/Test/main.swift:1:8: error: missing required module 'CFURLSessionInterface'
import FoundationNetworking
 ^

This was with 5.1-DEVELOPMENT-SNAPSHOT-2019-05-29-a, which is the latest at the time of writing. I haven't tried other snapshots.

Recreate:

mkdir Test && cd Test && swift package init
echo "import FoundationNetworking" > Sources/Test/Test.swift
swift build
@belkadan
Copy link

belkadan commented Jun 6, 2019

cc @millenomi

@spevans
Copy link
Collaborator

spevans commented Jun 7, 2019

There is a PR for this #2319

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants