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-11972] swift package init with Xcode is broken #4632

Closed
swift-ci opened this issue Dec 20, 2019 · 2 comments
Closed

[SR-11972] swift package init with Xcode is broken #4632

swift-ci opened this issue Dec 20, 2019 · 2 comments
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-11972
Radar rdar://problem/58455078
Original Reporter andreasw (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: b23f0db06721f53306c4860f2535c181

Issue Description:

Initializing a Swift project on macOS 10.15.2 with Swift 5.1.3 and Xcode 11.3 via

> swift package init --type executable

, then generating an Xcode project with

> swift package generate-xcodeproj

and trying to compile in Xcode fails with:

> cannot load module 'swift' as 'Swift'

Renaming the package

> let package = Package(
> name: "bla",

, the target

> .target(
> name: "bla",

and the Sources directory

> Sources/bla

makes it work.

@beccadax
Copy link
Contributor

beccadax commented Jan 9, 2020

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
@sjavora
Copy link
Contributor

sjavora commented Jan 30, 2024

@tomerd this can be closed since generate-xcodeproj has been removed.

@tomerd tomerd closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants